1
1
mirror of https://github.com/go-gitea/gitea synced 2024-07-05 01:25:51 +00:00
gitea/public
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
2019-07-26 07:12:35 +01:00
..
css fix #7568 (#7587) (#7589) 2019-07-23 20:53:13 +01:00
img Repository avatar fallback configuration (#7087) 2019-06-02 14:40:12 +08:00
js Fix syntax highlight initialization (#7617) (#7626) 2019-07-26 07:12:35 +01:00
less fix #7568 (#7587) (#7589) 2019-07-23 20:53:13 +01:00
vendor backport #7425 - jquery 3 (#7442) 2019-07-12 16:20:17 +01:00