We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When showEmptyItems is set to false, the last pagination bullet still shows empty items.
Changing the addPage function in the following code:
env.$elts.paginationBtns.click(function (e) { goToStep(env, $(this).data("firstStep"));
to:
env.$elts.paginationBtns.click(function (e) { var firstStep = $(this).data("firstStep"); goToStep(env, (!env.params.showEmptyItems) ? Math.min(firstStep, env.steps.count - env.params.dispItems) : firstStep );
... fixes the problem.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When showEmptyItems is set to false, the last pagination bullet still shows empty items.
Changing the addPage function in the following code:
to:
... fixes the problem.
The text was updated successfully, but these errors were encountered: