-
-
Notifications
You must be signed in to change notification settings - Fork 167
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 Collapse Markdown) fix for no longer working in Greasemonkey #13
Labels
Comments
Hi @darkred! Thanks for letting me know! I'll have it fixed in a minute! Also, in case you didn't know, I'll be going out of town for the next month starting tomorrow. So if you don't get a response from me, you'll know why. |
You're welcome. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The following is a Firefox/Greasemonkey-only issue:
in Chrome 53/Tampermonkey 4.1.10 the issue doesn't occur.
Using GCM v1.1.3 with GM 3.9 in FF 49 (win 10 x64).
The script was no longer collapsing Markdown in any GitHub page.
To make sure I tried in a fresh FF profile with only GM installed and the script
and opened as a reference https:/sinatra/sinatra
(i.e. is the page that you used in the screen capture) :
no content was collapsed.
I was getting
in Browser Console.
So, changing lines 233 and 240
from
for (const el of els) {
to
for (let el of els) {
fixes the issue.
The text was updated successfully, but these errors were encountered: