update for toggling page button.

This commit is contained in:
kunw 2016-08-06 17:35:57 +08:00
parent 8245eeaec9
commit e44d445ee3

View File

@ -169,7 +169,7 @@
if(tc.canDecrement()) {
tc.decrement();
drawButtons(tc.getTime());
element.find('li[tag="pagination-button"] a[page="' + ctrl.page + '"]').trigger('click');
togglePageButton();
}
scope.$apply();
}
@ -178,7 +178,7 @@
if(tc.canIncrement()) {
tc.increment();
drawButtons(tc.getTime());
element.find('li[tag="pagination-button"] a[page="' + ctrl.page + '"]').trigger('click');
togglePageButton();
}
scope.$apply();
}