1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 14:45:56 +00:00

af_readability: allow get full text button to work as a toggle; in cdm, scroll to article after embedding

This commit is contained in:
Andrew Dolgov
2020-02-28 08:03:25 +03:00
parent bdb1e475e7
commit 4e74da590e
4 changed files with 23 additions and 7 deletions

View File

@@ -476,7 +476,7 @@ require(["dojo/_base/kernel",
this.hotkey_actions["collapse_sidebar"] = function () {
Feeds.toggle();
};
this.hotkey_actions["embed_full_text"] = function () {
this.hotkey_actions["toggle_full_text"] = function () {
if (typeof Plugins.Af_Readability != "undefined") {
if (Article.getActive())
Plugins.Af_Readability.embed(Article.getActive());