- if (y == 0 && match(cell)) {
- for (var i = loc; i < loc + cell.colSpan; i++) matchloc[i] = true;
- filtercell(table.children.item(x), true, action); // colgroup
+ if (y == 0) {
+ var res = match(cell);
+ for (var i = loc; i < loc + cell.colSpan; i++) matchloc[i] = res;
+ filtercell(table.children.item(x), res, action); // colgroup