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

JS-error when scrolling to the last header. #45

Closed
tompi opened this issue Sep 27, 2013 · 1 comment
Closed

JS-error when scrolling to the last header. #45

tompi opened this issue Sep 27, 2013 · 1 comment
Assignees
Labels

Comments

@tompi
Copy link

tompi commented Sep 27, 2013

Hi, thank you for a nice plugin!

I'm getting this error:
"Uncaught Error: Syntax error, unrecognized expression: div[data-unique=B.5CodeTable(TEST_MEDIUM)]"

This happens in http://localhost/scripts/jquery-1.8.3.js on line 4680.
(But I'm assuming tocify attached the failing event or?)

When I scroll to the bottom of the page. (my last h1 is "B.5CodeTable(TEST_MEDIUM)")

Tried to reproduce on jsbin, but didn't manage, sorry.
Let me know if this isn't enough and I'll give reproducing it online another shot.

Edit: If I comment out this line(634), everything works fine:
self._scrollTo($("div[data-unique=" + currentElem.attr("data-unique") + "]"));

@gfranko
Copy link
Owner

gfranko commented Oct 2, 2013

This has been fixed with the v1.9.0 release. Please update to the latest code and let me know if you have any more issues!

@gfranko gfranko closed this as completed Oct 2, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants