From b239eb9ed3d53c3a194d82f3ca25e66cd20f0de8 Mon Sep 17 00:00:00 2001 From: Adam Bradley Date: Thu, 11 Sep 2014 15:56:02 -0500 Subject: [PATCH] fix(menuClose): do not close if aside exposed --- js/angular/controller/sideMenuController.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/angular/controller/sideMenuController.js b/js/angular/controller/sideMenuController.js index 780190461b8..217c60d9c0b 100644 --- a/js/angular/controller/sideMenuController.js +++ b/js/angular/controller/sideMenuController.js @@ -82,6 +82,7 @@ function($scope, $attrs, $ionicSideMenuDelegate, $ionicPlatform, $ionicBody) { * Close all menus. */ self.close = function() { + if(isAsideExposed) return; self.openPercentage(0); };