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({
4747 // the line altogether.
4848 if ( ! on [ k ] && value === 0 ) {
4949 data [ i ] [ k + 1 ] = null ;
50-
50+ }
5151 // If we are off and the value is not zero, we
5252 // 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 ) {
5454 on [ k ] = true ;
5555
5656 // We previously wrote a null into data[i - 1][k + 1],
@@ -59,9 +59,10 @@ export default Ember.Component.extend({
5959 if ( i > 1 ) {
6060 data [ i - 1 ] [ k + 1 ] = 0 ;
6161 }
62+ }
6263 // If we are on and the value is zero, turn off
6364 // but keep the zero in the array
64- } else if ( on [ k ] && value === 0 ) {
65+ else if ( on [ k ] && value === 0 ) {
6566 on [ k ] = false ;
6667 }
6768 }
You can’t perform that action at this time.
0 commit comments