mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 11:05:55 +00:00
force-disable headlines smooth scrolling when switching feeds
enable smooth scrolling for article frame
This commit is contained in:
@@ -592,7 +592,9 @@ define(["dojo/_base/declare"], function (declare) {
|
||||
Article.setActive(0);
|
||||
|
||||
try {
|
||||
$("headlines-frame").removeClassName("smooth-scroll");
|
||||
$("headlines-frame").scrollTop = 0;
|
||||
$("headlines-frame").addClassName("smooth-scroll");
|
||||
|
||||
Element.hide("floatingTitle");
|
||||
$("floatingTitle").setAttribute("data-article-id", 0);
|
||||
|
||||
Reference in New Issue
Block a user