summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2015-03-06 15:51:54 +0300
committerAndrew Dolgov <[email protected]>2015-03-06 15:51:54 +0300
commit669fc881f3dc26782c0ff6fe1d5cc6e6b5fa775c (patch)
tree72dc912a2c615aac2af7a23c8b445f393cf3c9bb
parent40f147df791a9fd7c01034688185918ccd66696b (diff)
add error notification if trying to toggle widescreen in cdm
-rw-r--r--js/tt-rss.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/js/tt-rss.js b/js/tt-rss.js
index e79f47176..38182c7ad 100644
--- a/js/tt-rss.js
+++ b/js/tt-rss.js
@@ -512,6 +512,8 @@ function init() {
setCookie("ttrss_ci_height", 0);
switchPanelMode(_widescreen_mode);
+ } else {
+ alert(__("Widescreen is not available in combined mode."));
}
};
hotkey_actions["help_dialog"] = function() {
@@ -711,6 +713,8 @@ function quickMenuGo(opid) {
setCookie("ttrss_ci_height", 0);
switchPanelMode(_widescreen_mode);
+ } else {
+ alert(__("Widescreen is not available in combined mode."));
}
break;
case "qmcHKhelp":