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

Hidden navigation numbers #49

Open
ecSta opened this issue Feb 19, 2014 · 3 comments
Open

Hidden navigation numbers #49

ecSta opened this issue Feb 19, 2014 · 3 comments

Comments

@ecSta
Copy link

ecSta commented Feb 19, 2014

Just a tiny issue, am pretty satisfied of your plugin anyway 👍

If we don't have the same DOM structure as in your examples, navigation numbers are left hidden.
In my case, i've nav_panel in a folder 2 children lower. Based on your file not minified, on line 133, it should be :

total_page_no_links = $page_container.find(options.nav_panel_id+':first').children('.page_link').size();

instead of :

total_page_no_links = $page_container.children(options.nav_panel_id+':first').children('.page_link').size();

@vhoxha08
Copy link

vhoxha08 commented May 8, 2014

nice man, saved me a lot of headache. you could make a pull request of that, it will fix the initial ellipsis bug

@dotJoel
Copy link

dotJoel commented Sep 19, 2014

same here. seems to need this fix.
maybe I'll do this as a pull request if it isn't submitted by the time I get a chance to.

I was getting:
[prev] ... [next]

After this fix:
[prev] ... [1] [2] ... [next]

@keeprock
Copy link

Works for me too. Still an issue here.

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

4 participants