File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -47,10 +47,10 @@ export default Ember.Component.extend({
47
47
// the line altogether.
48
48
if ( ! on [ k ] && value === 0 ) {
49
49
data [ i ] [ k + 1 ] = null ;
50
-
50
+ }
51
51
// If we are off and the value is not zero, we
52
52
// need to turn back on. (keep the value the same though)
53
- } else if ( ! on [ k ] && value !== 0 ) {
53
+ else if ( ! on [ k ] && value !== 0 ) {
54
54
on [ k ] = true ;
55
55
56
56
// We previously wrote a null into data[i - 1][k + 1],
@@ -59,9 +59,10 @@ export default Ember.Component.extend({
59
59
if ( i > 1 ) {
60
60
data [ i - 1 ] [ k + 1 ] = 0 ;
61
61
}
62
+ }
62
63
// If we are on and the value is zero, turn off
63
64
// but keep the zero in the array
64
- } else if ( on [ k ] && value === 0 ) {
65
+ else if ( on [ k ] && value === 0 ) {
65
66
on [ k ] = false ;
66
67
}
67
68
}
You can’t perform that action at this time.
0 commit comments