From 2f00f5acf77078ba94e39f29deb655351d786fe4 Mon Sep 17 00:00:00 2001 From: koalyptus Date: Fri, 19 Sep 2014 03:25:55 +0000 Subject: [PATCH] Code formatting --- src/tablefilter_all.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/tablefilter_all.js b/src/tablefilter_all.js index a502c433..d807fa40 100644 --- a/src/tablefilter_all.js +++ b/src/tablefilter_all.js @@ -93,7 +93,7 @@ var TF = (function() { for(var i=0; i1) this.filtersRowIndex = this.headersRow+1; - else{ this.filtersRowIndex = 1; this.headersRow = 0; } + if(this.headersRow>1){ + this.filtersRowIndex = this.headersRow+1; + } else { this.filtersRowIndex = 1; this.headersRow = 0; } } //defines tag of the cells containing filters (td/th)