This commit is contained in:
parent
b33ef36ab4
commit
bb2bfabf9c
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue