X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/68c81b86034b459e7b13f66db61bd0e416548c8c..1d2faf9cbd58546ac4a44f085fe1910971882f7f:/searchlocal.js diff --git a/searchlocal.js b/searchlocal.js index 6c37fc9..8c33f8d 100644 --- a/searchlocal.js +++ b/searchlocal.js @@ -38,7 +38,7 @@ function filtercols(table, match, action) { if (match(cell)) { if (!matchloc) matchloc = [loc]; matchloc[1] = loc + cell.colSpan; - filtercell(table.children.item(x+2), true, action); // colgroup + filtercell(table.children.item(x), true, action); // colgroup } } var keep = matchloc && loc >= matchloc[0] && loc < matchloc[1];