Skip to content

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

Closed
carrolld wants to merge 1 commit intobotmonster:mainfrom
carrolld:master
Closed

Fixed conflict with dynamically added placeholders and displaying pages > settings.maxVisible#28
carrolld wants to merge 1 commit intobotmonster:mainfrom
carrolld:master

Conversation

@carrolld
Copy link
Copy Markdown

@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

@botmonster botmonster closed this Mar 15, 2026
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

Successfully merging this pull request may close these issues.

2 participants