diff --git a/public/js/gogs.js b/public/js/gogs.js index 33da034551..0d7271c134 100644 --- a/public/js/gogs.js +++ b/public/js/gogs.js @@ -1043,10 +1043,14 @@ $(window).load(function () { var $num_list = $('.code-view .lines-num'); // Building blocks. + var $toappendblock = []; + var $toappendnum_list = []; for (var i = 0; i < lines.length; i++) { - $block.append('