0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-19 11:44:10 +01:00
gitea/public/js
silverwind 1d7dd7d624 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

* semicolon
2019-07-25 23:29:54 +01:00
..
draw.js convert all js var to let/const (#7464) 2019-07-16 09:51:46 +08:00
index.js Fix syntax highlight initialization (#7617) 2019-07-25 23:29:54 +01:00