add error notification if trying to toggle widescreen in cdm
This commit is contained in:
parent
40f147df79
commit
669fc881f3
1 changed files with 4 additions and 0 deletions
|
@ -512,6 +512,8 @@ function init() {
|
||||||
setCookie("ttrss_ci_height", 0);
|
setCookie("ttrss_ci_height", 0);
|
||||||
|
|
||||||
switchPanelMode(_widescreen_mode);
|
switchPanelMode(_widescreen_mode);
|
||||||
|
} else {
|
||||||
|
alert(__("Widescreen is not available in combined mode."));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
hotkey_actions["help_dialog"] = function() {
|
hotkey_actions["help_dialog"] = function() {
|
||||||
|
@ -711,6 +713,8 @@ function quickMenuGo(opid) {
|
||||||
setCookie("ttrss_ci_height", 0);
|
setCookie("ttrss_ci_height", 0);
|
||||||
|
|
||||||
switchPanelMode(_widescreen_mode);
|
switchPanelMode(_widescreen_mode);
|
||||||
|
} else {
|
||||||
|
alert(__("Widescreen is not available in combined mode."));
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case "qmcHKhelp":
|
case "qmcHKhelp":
|
||||||
|
|
Loading…
Reference in a new issue