jerone / UserScripts

🐵 My UserScripts
https://github.com/jerone/UserScripts#readme
GNU General Public License v3.0
339 stars 39 forks source link

(Github Reply Comments) Doesn't work on commit view #133

Closed aspiers closed 6 years ago

aspiers commented 6 years ago

Github Reply Comments doesn't work on commit view, e.g. visit a page like:

https://github.com/openSUSE/osc/commit/ae591a82fc0678c

and then clicking the Reply button will result in the following JS error on the browser console:

Uncaught TypeError: Cannot read property 'classList' of null
    at getCommentTextarea (userscript.html?id=1…2c-d2362a319eb3:224)
    at HTMLButtonElement.eval (userscript.html?id=1…2c-d2362a319eb3:259)
getCommentTextarea   @ userscript.html?id=1…2c-d2362a319eb3:224
(anonymous)              @ userscript.html?id=1…2c-d2362a319eb3:259
jerone commented 6 years ago

Thanks. I can confirm the issue, just need some time to find a fix.

jerone commented 6 years ago

FYI, i have a fix for this, am testing it now. Will try to push an update this week.

jerone commented 6 years ago

@aspiers This should be fixed by now.

aspiers commented 6 years ago

Works great now, thanks so much!