aboutsummaryrefslogtreecommitdiffstats
path: root/public/js
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-12-03 15:01:15 -0500
committerUnknwon <u@gogs.io>2015-12-03 15:01:15 -0500
commit98e989d52c61f6f38a57753d9f4c81a2b332fa82 (patch)
tree4f4c76397893b77140adba0a3afa20a3ec315f49 /public/js
parent5742f9fe69107858a622b77f33c11c77f8d69d92 (diff)
downloadgitea-98e989d52c61f6f38a57753d9f4c81a2b332fa82.tar.gz
gitea-98e989d52c61f6f38a57753d9f4c81a2b332fa82.zip
minor JS and UI fix
Diffstat (limited to 'public/js')
-rw-r--r--public/js/gogs.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/js/gogs.js b/public/js/gogs.js
index 93af48e37b..489b6996d6 100644
--- a/public/js/gogs.js
+++ b/public/js/gogs.js
@@ -938,7 +938,7 @@ $(window).load(function () {
}
// Code view.
- if ($('.code-view').length > 0) {
+ if ($('.code-view .linenums').length > 0) {
var $block = $('.code-view .linenums');
var lines = $block.html().split("\n");
$block.html('');