mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
Make sure remove happens on the right events, not on an undefined var
This commit is contained in:
parent
5f71093236
commit
c1c68f89fe
@ -234,8 +234,8 @@
|
||||
});
|
||||
},
|
||||
|
||||
remove: function(c) {
|
||||
c.$table.off(chart.event);
|
||||
remove: function(c, wo) {
|
||||
c.$table.off(wo.chart_event);
|
||||
}
|
||||
|
||||
};
|
||||
@ -269,7 +269,7 @@
|
||||
},
|
||||
|
||||
remove: function(table, c, wo) {
|
||||
chart.remove(c);
|
||||
chart.remove(c, wo);
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user