summaryrefslogtreecommitdiff
path: root/js/tt-rss.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-12-01 08:04:12 +0300
committerAndrew Dolgov <[email protected]>2018-12-01 08:04:12 +0300
commit3325979bf0193b4cd1393394ecfb3b3eebed1595 (patch)
tree8a1e027eaa01c1f8f6c524bd4707d9eba2593963 /js/tt-rss.js
parent32d36d439c02a838bc6158f2d9225496629f79c2 (diff)
isCdmMode -> isCombinedMode
Diffstat (limited to 'js/tt-rss.js')
-rw-r--r--js/tt-rss.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/js/tt-rss.js b/js/tt-rss.js
index 099c50b54..07dd0d10d 100644
--- a/js/tt-rss.js
+++ b/js/tt-rss.js
@@ -335,7 +335,7 @@ function init_hotkey_actions() {
scrollArticle(-40);
};
hotkey_actions["close_article"] = function() {
- if (isCdmMode()) {
+ if (isCombinedMode()) {
cdmCollapseActive();
} else {
closeArticlePanel();
@@ -477,7 +477,7 @@ function init_hotkey_actions() {
}
};
hotkey_actions["toggle_widescreen"] = function() {
- if (!isCdmMode()) {
+ if (!isCombinedMode()) {
_widescreen_mode = !_widescreen_mode;
// reset stored sizes because geometry changed
@@ -495,7 +495,7 @@ function init_hotkey_actions() {
hotkey_actions["toggle_combined_mode"] = function() {
notify_progress("Loading, please wait...");
- const value = isCdmMode() ? "false" : "true";
+ const value = isCombinedMode() ? "false" : "true";
xhrPost("backend.php", {op: "rpc", method: "setpref", key: "COMBINED_DISPLAY_MODE", value: value}, () => {
setInitParam("combined_display_mode",
@@ -643,7 +643,7 @@ function quickMenuGo(opid) {
toggleDispRead();
break;
case "qmcToggleWidescreen":
- if (!isCdmMode()) {
+ if (!isCombinedMode()) {
_widescreen_mode = !_widescreen_mode;
// reset stored sizes because geometry changed
@@ -851,7 +851,7 @@ function handle_rpc_json(transport, scheduled_call) {
}
function switchPanelMode(wide) {
- if (isCdmMode()) return;
+ if (isCombinedMode()) return;
const article_id = getActiveArticleId();