aboutsummaryrefslogtreecommitdiff
path: root/public/js
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-12-03 18:10:54 -0500
committerUnknwon <u@gogs.io>2015-12-03 18:10:54 -0500
commitbfe602726626294a3e33b805ec98bf17b347bdbb (patch)
tree15d163216446e0d32100fc224a9f24b824428063 /public/js
parent4d9499c2d39d9978c611ab8c3a4c6fea6bbdf0de (diff)
parent98e989d52c61f6f38a57753d9f4c81a2b332fa82 (diff)
Merge branch 'develop' of github.com:gogits/gogs into develop
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 93af48e3..489b6996 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('');