From 2b545346d980d5d678a97912ef63782bbd956da5 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Tue, 17 Jul 2012 13:30:07 -0400 Subject: [PATCH] fixed bug in conditions --- lib/client/editor.js | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/lib/client/editor.js b/lib/client/editor.js index c1e47e58..331cd157 100644 --- a/lib/client/editor.js +++ b/lib/client/editor.js @@ -72,11 +72,10 @@ CloudCommander.Editor.CloudMirror = { var lCloudEditor = this.getById('CloudEditor'); lLeft && - lLeft.className = 'panel hidden'; + (lLeft.className = 'panel hidden'); lCloudEditor && - lCloudEditor - .className = ''; + (lCloudEditor.className = ''); }), @@ -89,12 +88,12 @@ CloudCommander.Editor.CloudMirror = { var lCloudEditor = this.getById('CloudEditor'); lCloudEditor && - lCloudEditor.className = 'hidden'; + (lCloudEditor.className = 'hidden'); lLeft && - lLeft.className = 'panel'; + (lLeft.className = 'panel'); }), - getById: function(pId){return document.getElementById(pId)} + getById: function(pId){return document.getElementById(pId);} }; CloudCommander.Editor.Keys = (function(){ "use strict";