summaryrefslogtreecommitdiff
path: root/js/tt-rss.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-03-21 19:01:51 +0400
committerAndrew Dolgov <[email protected]>2013-03-21 19:01:51 +0400
commitc186beae4858afb4b17c0cb7fa3731ad2684d2df (patch)
tree1feaa31b35b46f2459e5d3d8b9235efb4efc401c /js/tt-rss.js
parentb6604c96135303a546ff8dcfefdcd804ed4554a6 (diff)
switchPanelMode: don't try to do anything in cdm (closes #609)
Diffstat (limited to 'js/tt-rss.js')
-rw-r--r--js/tt-rss.js2
1 files changed, 2 insertions, 0 deletions
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) {