mirror of
https://github.com/Mottie/tablesorter.git
synced 2024-11-15 23:54:22 +00:00
Pager: fix pager widget demo destroy method
This commit is contained in:
parent
7fa7907953
commit
30a83b01df
@ -178,8 +178,7 @@
|
||||
var $t = $(this);
|
||||
if (/Destroy/.test( $t.text() )){
|
||||
$table[0].config.widgets = ['zebra'];
|
||||
$table.trigger('refreshWidgets');
|
||||
//.trigger('destroyPager');
|
||||
$table.trigger('destroyPager');
|
||||
$t.text('Restore Pager');
|
||||
} else {
|
||||
$table[0].config.widgets = ['zebra', 'pager'];
|
||||
|
Loading…
Reference in New Issue
Block a user