This commit is contained in:
mmcw-dev 2019-04-16 10:01:54 -04:00
parent b33ef36ab4
commit bb2bfabf9c
1 changed files with 17 additions and 7 deletions

View File

@ -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();
}