]> git.wh0rd.org Git - tt-rss.git/commitdiff
switchPanelMode: don't try to do anything in cdm (closes #609)
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 21 Mar 2013 15:01:51 +0000 (19:01 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 21 Mar 2013 15:01:51 +0000 (19:01 +0400)
js/tt-rss.js

index ed5e01d4bdde399cbfe48e7d847c2dc632cbd86a..b58c3670583532d8c4a93b8bc230199b8a3584ed 100644 (file)
@@ -942,6 +942,8 @@ function handle_rpc_json(transport, scheduled_call) {
 
 function switchPanelMode(wide) {
        try {
+               if (isCdmMode()) return;
+
                article_id = getActiveArticleId();
 
                if (wide) {