summaryrefslogtreecommitdiffstats
path: root/public/js/gogs.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/js/gogs.js')
-rw-r--r--public/js/gogs.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/public/js/gogs.js b/public/js/gogs.js
index c9a8a1f868..72fc48f6a0 100644
--- a/public/js/gogs.js
+++ b/public/js/gogs.js
@@ -408,6 +408,9 @@ $(document).ready(function () {
$($(this).data('target')).slideToggle(100);
});
+ // Highlight JS
+ hljs.initHighlightingOnLoad();
+
// Dropzone
if ($('#dropzone').length > 0) {
// Disable auto discover for all elements: