diff options
Diffstat (limited to 'public/js')
-rw-r--r-- | public/js/gogs.js | 2 |
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(''); |