mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 16:45:55 +00:00
block email_article action if mail plugin is not enabled
This commit is contained in:
@@ -735,7 +735,11 @@ function hotkey_handler(e) {
|
||||
scrollArticle(-50);
|
||||
return true;
|
||||
case "email_article":
|
||||
emailArticle();
|
||||
if (typeof emailArticle != "undefined") {
|
||||
emailArticle();
|
||||
} else {
|
||||
alert(__("Please enable mail plugin first."));
|
||||
}
|
||||
return true;
|
||||
case "select_all":
|
||||
selectArticles('all');
|
||||
|
||||
Reference in New Issue
Block a user