Introduction
Introduction Statistics Contact Development Disclaimer Help
fix bounds check - jscancer - Javascript crap (relatively small)
git clone git://git.codemadness.org/jscancer
Log
Files
Refs
README
LICENSE
---
commit 94747bfaa39f95e6aeb09a31550a6433f38ed35b
parent 6373051632540cfb70faf8c988faa798cabcfb70
Author: Hiltjo Posthuma <[email protected]>
Date: Thu, 3 Aug 2017 19:02:24 +0200
fix bounds check
the (outer) size of values and filtervalues happen to be always the same.
Diffstat:
M datatable/datatable.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/datatable/datatable.js b/datatable/datatable.js
@@ -239,7 +239,7 @@ function datatable_filter(d, data, s) {
var fc = 0;
for (var k = 0; k < tok.length && fc < tok.length; k++) {
var f = false;
- for (var j = 0; j < data[i].values.length && fc < tok.…
+ for (var j = 0; j < data[i].filtervalues.length && fc …
for (var l = 0; l < data[i].filtervalues[j].le…
d.cols[j].filterable; l++)
if (data[i].filtervalues[j][l].indexOf…
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.