0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-27 23:48:39 +01:00
gitea/public
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
..
css fix #7568 (#7587) 2019-07-23 22:31:51 +08:00
img
js Fix syntax highlight initialization (#7617) 2019-07-25 23:29:54 +01:00
less fix #7568 (#7587) 2019-07-23 22:31:51 +08:00
vendor