Skip to content

Fix "katex is not defined" bug#23

Open
tadaskarpavicius wants to merge 1 commit intoas-com:masterfrom
tadaskarpavicius:master
Open

Fix "katex is not defined" bug#23
tadaskarpavicius wants to merge 1 commit intoas-com:masterfrom
tadaskarpavicius:master

Conversation

@tadaskarpavicius
Copy link
Copy Markdown

In some scenarios katex.render() runs before the script is loaded. Let's do this on 'load' event instead. This way, even if the script is loaded with async and/or defer, it will still run

In some scenarios katex.render() runs before the script is loaded. Let's do this on 'load' event instead. This way, even if the script is loaded with async and/or defer, it will still run
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

Successfully merging this pull request may close these issues.

1 participant