0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-19 00:11:24 +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 Repository avatar fallback configuration (#7087) 2019-06-02 14:40:12 +08:00
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 jQuery 3 (#7425) 2019-07-12 08:21:44 +03:00