fix(dom) getPanel isLeft check: class -> id

This commit is contained in:
coderaiser 2014-01-21 03:25:11 -05:00
parent 48970afb2c
commit 0402bbb127

View file

@ -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) {