From c186beae4858afb4b17c0cb7fa3731ad2684d2df Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 21 Mar 2013 19:01:51 +0400 Subject: [PATCH] switchPanelMode: don't try to do anything in cdm (closes #609) --- js/tt-rss.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/tt-rss.js b/js/tt-rss.js index ed5e01d4b..b58c36705 100644 --- a/js/tt-rss.js +++ b/js/tt-rss.js @@ -942,6 +942,8 @@ function handle_rpc_json(transport, scheduled_call) { function switchPanelMode(wide) { try { + if (isCdmMode()) return; + article_id = getActiveArticleId(); if (wide) {