diff --git a/lib/client/dom.js b/lib/client/dom.js index 83502ad0..65968a66 100644 --- a/lib/client/dom.js +++ b/lib/client/dom.js @@ -1528,7 +1528,7 @@ var CloudCmd, Util, DOM, CloudFunc, Dialog; current = this.getCurrentFile(), files = current.parentElement, panel = files.parentElement, - isLeft = DOM.isContainClass(panel, 'left'); + isLeft = panel.id === 'js-left'; /* if {active : false} getting passive panel */ if (pActive && !pActive.active) {