switchPanelMode: don't try to do anything in cdm (closes #609)

This commit is contained in:
Andrew Dolgov 2013-03-21 19:01:51 +04:00
parent b6604c9613
commit c186beae48
1 changed files with 2 additions and 0 deletions

View File

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