1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 06:35:55 +00:00

update toggle_embed_original hotkey to invoke readability embed instead of removed embed_original plugin

This commit is contained in:
Andrew Dolgov
2020-02-27 09:47:20 +03:00
parent b159bbe55d
commit 07b27b375f
2 changed files with 6 additions and 6 deletions

View File

@@ -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 () {