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

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

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 jerone closed this in 15d10a2 Dec 26, 2015
@jerone
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