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

Dingus (often) doesn't work in Firefox #17

Open
marijnh opened this issue Feb 3, 2021 · 1 comment
Open

Dingus (often) doesn't work in Firefox #17

marijnh opened this issue Feb 3, 2021 · 1 comment

Comments

@marijnh
Copy link

marijnh commented Feb 3, 2021

Loading https://spec.commonmark.org/dingus/ in Firefox, I usually get nothing in the preview area. The problem appears to be that the $('iframe').on('load', ... never fires (possibly because the frame is already loaded by the time the document ready callback runs), so the preview logic is simply never initialized. I guess this being a race also explains why it sometimes works (the chance seems to improve when I have devtools open, which possibly slows something down).

@jgm
Copy link
Member

jgm commented Feb 3, 2021

I see the same thing. Do you have a suggested fix?

icyrockcom pushed a commit to icyrockcom/commonmark-spec-web that referenced this issue Mar 20, 2021
icyrockcom pushed a commit to icyrockcom/commonmark-spec-web that referenced this issue Mar 20, 2021
icyrockcom added a commit to icyrockcom/commonmark-spec-web that referenced this issue Mar 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants