Fix syntax highlight initialization (#7617)
* 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 * semicolontokarchuk/v1.17
parent
6782a704ef
commit
1d7dd7d624
Loading…
Reference in new issue