Closed azarzaza closed 7 years ago
jupp, same problem
Same problem - I guess there's no support for this plugin
As it's the first time this kind of bug is reported, please consider adding more details of your settings and how to reproduce the problem
Right now when I click on next or previous it reloads the entire page. Clicking on the numbers and first and last page is OK. Clicking on Previous and Next Reloads entire page. I placed a break point on the on the NEXT click event and It looks like its skipping that function when I click on Next or previous. But it does hit the breakpoint when the page is first loaded.
This function does not fire on click.
$(elSelector + ' .easyPaginateNav a.next', plugin).on('click', function (e) { e.preventDefault(); page = plugin.settings.currentPage < plugin.settings.pages ? parseInt(plugin.settings.currentPage) + 1 : plugin.settings.pages; displayPage(page); });
I used the JS file from your demo page and it works.
you might want to diff your source file on github
I was experiencing that problem as well. I went in and on lines 96 and 102 and I removed ", plugin" from both lines. That seems to have fixed the problem I was experiencing. Let me know if this change fixes it for anyone else.
Fixed with version 1.2 (and current master)
navigation previous and next not working when click it will reload the page