Skip to content

Commit 160c5f9

Browse files
committed
sideMenuController: fixed undefined exception when using just one side menu
1 parent 951f40d commit 160c5f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

js/controllers/sideMenuController.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,9 +149,9 @@
149149
this._rightShowing = false;
150150

151151
// Push the z-index of the right menu down
152-
this.right && this.right.pushDown();
152+
this.right && this.right.pushDown && this.right.pushDown();
153153
// Bring the z-index of the left menu up
154-
this.left && this.left.bringUp();
154+
this.left && this.left.bringUp && this.left.bringUp();
155155
} else {
156156
this._rightShowing = true;
157157
this._leftShowing = false;

0 commit comments

Comments
 (0)