mirror of
https://github.com/Mottie/tablesorter.git
synced 2025-01-12 15:24:21 +00:00
var init needs to be outside of the bind now, since it's used in other binds
This commit is contained in:
parent
3dc2530301
commit
d248d6c8db
@ -389,10 +389,12 @@
|
||||
math_suffix : ''
|
||||
},
|
||||
init : function(table, thisWidget, c, wo){
|
||||
var init;
|
||||
|
||||
c.$table
|
||||
.off('update.tsmath init.tsmath')
|
||||
.on(events, function(e){
|
||||
var init = e.type === 'tablesorter-initialized';
|
||||
init = e.type === 'tablesorter-initialized';
|
||||
if (e.type === 'updateAll') {
|
||||
// redo data-column indexes in case columns were rearranged
|
||||
c.$table.trigger('update.tsmath');
|
||||
|
Loading…
Reference in New Issue
Block a user