mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
fixed addwidget option method
This commit is contained in:
parent
e9ca100372
commit
a1106c0fc0
@ -1117,7 +1117,7 @@
|
||||
w = ts.getWidgetById(ws[i]);
|
||||
if ( w ) {
|
||||
if (init) {
|
||||
if (w.hasOwnProperty('options')) { $.extend( true, wo, w.options ); }
|
||||
if (w.hasOwnProperty('options')) { $.extend( true, w.options, wo ); }
|
||||
if (w.hasOwnProperty('init')) { w.init(table, w, c, wo); }
|
||||
} else if (!init && w.hasOwnProperty('format')) {
|
||||
w.format(table, c, wo, false);
|
||||
|
Loading…
Reference in New Issue
Block a user