diff --git a/js/tt-rss.js b/js/tt-rss.js index fb80f4899..240d5f530 100644 --- a/js/tt-rss.js +++ b/js/tt-rss.js @@ -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');