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

(Github Comment Enhancer) Javascript error on wiki pages #95

Closed
Mottie opened this Issue Dec 26, 2015 · 1 comment

Comments

Projects
None yet
2 participants
@Mottie

Mottie commented Dec 26, 2015

Great work on the enhancer! I just started trying it out and noticed I keep getting a javascript error on wiki pages.

Oddly, it doesn't occur on the "Home" page, but on any other wiki page I see this error in the console:

ERROR: Execution of script 'Github Comment Enhancer' failed! Cannot read property 'addEventListener' of null
TypeError: Cannot read property 'addEventListener' of null
at addToolbar (eval at (unknown source), :794:42)
at init (eval at (unknown source), :1265:3)
at eval (eval at (unknown source), :1269:2)
at Object.eval (eval at (unknown source), :1290:3)
at eval (eval at (unknown source), :4:8)
at Object.eval (eval at (unknown source), :5:3)
at c (:41:142)
at eval (eval at (unknown source), :1:25)
at eval (native)
at n (:72:175)

Here is an example page: https://github.com/jquery/jquery/wiki/Adding-new-features

@jerone

This comment has been minimized.

Show comment
Hide comment
@jerone

jerone Dec 26, 2015

Owner

Thanks for reporting. An hidden bug, easy fix.

Owner

jerone commented Dec 26, 2015

Thanks for reporting. An hidden bug, easy fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment