mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 07:55:55 +00:00
rename cdmScrollToId to cdmMoveToId
prevent smooth scrolling when going directly to an article
This commit is contained in:
@@ -9,7 +9,7 @@ Plugins.Af_Readability = {
|
||||
content.innerHTML = content.getAttribute(self.orig_attr_name);
|
||||
content.removeAttribute(self.orig_attr_name);
|
||||
|
||||
if (App.isCombinedMode()) Article.cdmScrollToId(id);
|
||||
if (App.isCombinedMode()) Article.cdmMoveToId(id);
|
||||
|
||||
return;
|
||||
}
|
||||
@@ -23,7 +23,7 @@ Plugins.Af_Readability = {
|
||||
content.innerHTML = reply.content;
|
||||
Notify.close();
|
||||
|
||||
if (App.isCombinedMode()) Article.cdmScrollToId(id);
|
||||
if (App.isCombinedMode()) Article.cdmMoveToId(id);
|
||||
|
||||
} else {
|
||||
Notify.error("Unable to fetch full text for this article");
|
||||
|
||||
Reference in New Issue
Block a user