Skip to content
This repository has been archived by the owner on Nov 21, 2024. It is now read-only.

Two events are triggered when init two bootpags for same content #49

Open
wangwenbincom opened this issue Apr 13, 2017 · 1 comment
Open

Comments

@wangwenbincom
Copy link

First init two bootpags for same content.
Second,When clicking on the top or bottom paging numbers, we bind the paging event to be triggered twice.

@rahulhaque
Copy link

rahulhaque commented Jan 22, 2018

Initialize two bootpags for same content like this $('.pagination_1,.pagination_2').bootpag({options}); Not separately. Make sure updating your table content does not initialize bootpag again. You can simply use a counter variable for checking and increment it after first initialization of bootpag.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants