mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
Get rid of widget init delay
filter widget was not seeing the table-initialized event
This commit is contained in:
parent
1154d78e4b
commit
8217871650
@ -1021,9 +1021,7 @@
|
||||
setHeadersCss(table);
|
||||
if (c.initWidgets) {
|
||||
// apply widget format
|
||||
setTimeout(function(){
|
||||
ts.applyWidget(table, false);
|
||||
}, 0);
|
||||
ts.applyWidget(table, false);
|
||||
}
|
||||
}
|
||||
|
||||
@ -1052,7 +1050,6 @@
|
||||
if (typeof c.initialized === 'function') { c.initialized(table); }
|
||||
};
|
||||
|
||||
|
||||
// computeTableHeaderCellIndexes from:
|
||||
// http://www.javascripttoolbox.com/lib/table/examples.php
|
||||
// http://www.javascripttoolbox.com/temp/table_cellindex.html
|
||||
|
Loading…
Reference in New Issue
Block a user