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

Fixed conflict with dynamically added placeholders and displaying pages > settings.maxVisible #28

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

carrolld
Copy link

@carrolld carrolld commented Aug 5, 2015

Issue:

Occurs when adding placeholder in JS and initializing Bootpag before appending to page. When a pagination page value is greater than maxVisible, pagination is displayed vertically instead of horizontally.

Change:

Added a new setting 'hiddenClass', default set to Bootstrap's 'hide', and replaced toggle with toggleClass.

Example:

http://codepen.io/anon/pen/GJzMMz

Screenshots:

screen shot 2015-08-05 at 12 49 29 pm

screen shot 2015-08-05 at 12 50 38 pm

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

Successfully merging this pull request may close these issues.

1 participant