Skip to content
New issue

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

Cannot read property 'children' of undefined #193

Open
bsekachev opened this issue May 27, 2019 · 0 comments
Open

Cannot read property 'children' of undefined #193

bsekachev opened this issue May 27, 2019 · 0 comments

Comments

@bsekachev
Copy link

Uncaught TypeError: Cannot read property 'children' of undefined
    at TwbsPagination.render (jquery.twbsPagination.js:208)
    at TwbsPagination.show (jquery.twbsPagination.js:109)
    at jQuery.fn.init.$.fn.twbsPagination (jquery.twbsPagination.js:322)

Fault in the row:

this.$listContainer.children().remove();

Scenario:

  1. Create pagination with enabled option hideOnlyOnePage
  2. It must have a single page.
  3. Call paginator.twbsPagination('show', 1)
  4. Get the exception.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant