Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Previously hljs was initialized via a function that relies on the DOMContentLoaded event, registerd after jQuery's 'ready' event. I assume that with the recent jQuery update, DOMContentLoaded may not be guaranteed to fire after 'ready'. Fixed this via vanilla JS initalization. Fixes: go-gitea#7559
- Loading branch information