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

Uncaught TypeError: a.indexOf is not a function #690

Closed
maskit opened this issue Aug 15, 2017 · 7 comments
Closed

Uncaught TypeError: a.indexOf is not a function #690

maskit opened this issue Aug 15, 2017 · 7 comments
Labels
doc Your PR contains doc changes, no matter whether the changes are in markdown or code files.

Comments

@maskit
Copy link
Member

maskit commented Aug 15, 2017

Expected behavior

No errors happen on loading the documentation.

Actual behavior

image

Steps to reproduce

System configuration

OS: macOS 10.12
Browser: Chrome 60.0.3112.101 (Official Build) (64-bit)

@maskit maskit added the doc Your PR contains doc changes, no matter whether the changes are in markdown or code files. label Aug 15, 2017
@sarojrout
Copy link

@maskit I do not think there would be osx or browser issue while accessing the documentation. seems like some issue in the browser. Did you try resetting your browser and try accessing the url again?

@maskit
Copy link
Member Author

maskit commented Sep 24, 2017

I didn't reset my browser but I guess it doesn't help. I think it's because of gfranko/jquery.tocify.js#103.

@maskit
Copy link
Member Author

maskit commented Sep 24, 2017

This might fix it.
gfranko/jquery.tocify.js#100

Anyway, it seems like jquery.tocify.js isn't maintained. We should probably use some other library instead.

@advantiot
Copy link

Any recommendations for an equivalent alternative?

@maskit
Copy link
Member Author

maskit commented Sep 28, 2017

I'm not familiar with JS libraries. An alternative is proposed.
gfranko/jquery.tocify.js#96

@advantiot
Copy link

@maskit Actually gfranko/jquery.tocify.js#100 does fix it. More specifically tomparle/jquery.tocify.js

Thank you and thank you Thomas Parle.

@sijie
Copy link
Member

sijie commented Aug 15, 2018

The website has been redesigned. so the bug won't be valid anymore.

@sijie sijie closed this as completed Aug 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc Your PR contains doc changes, no matter whether the changes are in markdown or code files.
Projects
None yet
Development

No branches or pull requests

4 participants