From: Andrew Dolgov Date: Thu, 21 Mar 2013 15:01:51 +0000 (+0400) Subject: switchPanelMode: don't try to do anything in cdm (closes #609) X-Git-Tag: 1.7.5~42 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=c186beae4858afb4b17c0cb7fa3731ad2684d2df;p=tt-rss.git switchPanelMode: don't try to do anything in cdm (closes #609) --- diff --git a/js/tt-rss.js b/js/tt-rss.js index ed5e01d4..b58c3670 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) {