mirror of
https://github.com/Mottie/tablesorter.git
synced 2025-01-12 15:24:21 +00:00
Core: Only validate options while debugging. Closes #1528
This commit is contained in:
parent
4f9cf81e55
commit
745229d7ff
@ -298,7 +298,10 @@
|
||||
ts.setupParsers( c );
|
||||
// start total row count at zero
|
||||
c.totalRows = 0;
|
||||
// only validate options while debugging. See #1528
|
||||
if (c.debug) {
|
||||
ts.validateOptions( c );
|
||||
}
|
||||
// build the cache for the tbody cells
|
||||
// delayInit will delay building the cache until the user starts a sort
|
||||
if ( !c.delayInit ) { ts.buildCache( c ); }
|
||||
|
Loading…
Reference in New Issue
Block a user