summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2020-02-27 09:47:20 +0300
committerAndrew Dolgov <[email protected]>2020-02-27 09:47:20 +0300
commit07b27b375f279a7fb9868830ddff35a45d68a514 (patch)
treed2a77613f4884e485f0a371a1ffec636f72357f5 /js
parentb159bbe55dd3af41cbcb633d19a2a0efa744a1fb (diff)
update toggle_embed_original hotkey to invoke readability embed instead of removed embed_original plugin
Diffstat (limited to 'js')
-rw-r--r--js/tt-rss.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/js/tt-rss.js b/js/tt-rss.js
index a3c371edb..73790e295 100644
--- a/js/tt-rss.js
+++ b/js/tt-rss.js
@@ -476,12 +476,12 @@ require(["dojo/_base/kernel",
this.hotkey_actions["collapse_sidebar"] = function () {
Feeds.toggle();
};
- this.hotkey_actions["toggle_embed_original"] = function () {
- if (typeof embedOriginalArticle != "undefined") {
+ this.hotkey_actions["embed_full_text"] = function () {
+ if (typeof Plugins.Af_Readability != "undefined") {
if (Article.getActive())
- embedOriginalArticle(Article.getActive());
+ Plugins.Af_Readability.embed(Article.getActive());
} else {
- alert(__("Please enable embed_original plugin first."));
+ alert(__("Please enable af_readability first."));
}
};
this.hotkey_actions["toggle_widescreen"] = function () {