silverwind
650fdceb5a
Fix syntax highlight initialization (#7617) (#7626)
* Fix syntax highlight initialization 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: https://github.com/go-gitea/gitea/issues/7559 * semicolon |
4 years ago | |
---|---|---|
.. | ||
draw.js | add make targets for js and css, add js linter (#6952) | 5 years ago |
index.js | Fix syntax highlight initialization (#7617) (#7626) | 4 years ago |