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 |
hace 4 años | |
---|---|---|
.. | ||
draw.js | add make targets for js and css, add js linter (#6952) | hace 5 años |
index.js | Fix syntax highlight initialization (#7617) (#7626) | hace 4 años |