forked from forgejo/forgejo
minor JS and UI fix
This commit is contained in:
parent
5742f9fe69
commit
98e989d52c
3 changed files with 4 additions and 1 deletions
|
@ -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('');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue