diff --git a/app/src/lib/ui/grid.ts b/app/src/lib/ui/grid.ts index 270aa86..5716524 100644 --- a/app/src/lib/ui/grid.ts +++ b/app/src/lib/ui/grid.ts @@ -111,22 +111,32 @@ class Grid { let c : string; let checked : boolean = $(t).prop('checked'); - //if input was not checked, but now is - //event occurs after user action + // if input was not checked, but now is + // event occurs after user action if (checked) { + + + + + + + + c = $(t).attr('class').replace('.', ''); seq.set(x, c); } else { + + + + + + + seq.grid[x] = undefined; delete seq.grid[x]; seq.unset(x); } - - - - - this.state(x); seq.stats(); }