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:
@@ -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 () {
|
||||
|
||||
Reference in New Issue
Block a user