From 4e74da590ee935c2187dd02f6c2b312680065f13 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 28 Feb 2020 08:03:25 +0300 Subject: af_readability: allow get full text button to work as a toggle; in cdm, scroll to article after embedding --- js/tt-rss.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js') diff --git a/js/tt-rss.js b/js/tt-rss.js index 73790e295..d45dd5748 100644 --- a/js/tt-rss.js +++ b/js/tt-rss.js @@ -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()); -- cgit v1.2.3-54-g00ecf