Merge pull request #200 from travisrussi/master

sideMenuController: fixed undefined exception when using just one side menu
This commit is contained in:
Max Lynch
2013-11-23 21:06:07 -08:00

View File

@@ -149,9 +149,9 @@
this._rightShowing = false;
// Push the z-index of the right menu down
this.right && this.right.pushDown();
this.right && this.right.pushDown && this.right.pushDown();
// Bring the z-index of the left menu up
this.left && this.left.bringUp();
this.left && this.left.bringUp && this.left.bringUp();
} else {
this._rightShowing = true;
this._leftShowing = false;