mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 13:35:56 +00:00
plugins: mail, mailto: remove code from global context
This commit is contained in:
@@ -302,12 +302,10 @@ require(["dojo/_base/kernel",
|
||||
}
|
||||
};
|
||||
this.hotkey_actions["email_article"] = function () {
|
||||
if (typeof emailArticle != "undefined") {
|
||||
emailArticle();
|
||||
} else if (typeof mailtoArticle != "undefined") {
|
||||
mailtoArticle();
|
||||
if (typeof Plugins.Mail != "undefined") {
|
||||
Plugins.Mail.onHotkey(Headlines.getSelected());
|
||||
} else {
|
||||
alert(__("Please enable mail plugin first."));
|
||||
alert(__("Please enable mail or mailto plugin first."));
|
||||
}
|
||||
};
|
||||
this.hotkey_actions["select_all"] = function () {
|
||||
|
||||
Reference in New Issue
Block a user