diff --git a/pagure/templates/file.html b/pagure/templates/file.html index 45ace13..585d0ae 100644 --- a/pagure/templates/file.html +++ b/pagure/templates/file.html @@ -282,7 +282,7 @@ No content found in this repository $('#_' + i).parent().parent().addClass(cls); } setTimeout(function(){ - $("#_" + lines[0]).get(0).scrollIntoView({behavior: "smooth", block: "start", inline: "nearest"}); + $("#_" + lines[0]).get(0).scrollIntoView({behavior: "instant", block: "start", inline: "nearest"}); }, 50); } });