git.shiar.nl
/
sheet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
browser: avoid exceptional colgroup filter offset
[sheet.git]
/
searchlocal.js
diff --git
a/searchlocal.js
b/searchlocal.js
index 6c37fc901362c7f2fbb5b9a4c3d2138e8cb729a6..8c33f8d0f0c5bb1451d34af494dd9f8e82c90c8b 100644
(file)
--- 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;
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];
}
}
var keep = matchloc && loc >= matchloc[0] && loc < matchloc[1];