Skip to content

Commit

Permalink
fix(menuClose): do not close if aside exposed
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdbradley committed Sep 11, 2014
1 parent c40db31 commit b239eb9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/angular/controller/sideMenuController.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ function($scope, $attrs, $ionicSideMenuDelegate, $ionicPlatform, $ionicBody) {
* Close all menus.
*/
self.close = function() {
if(isAsideExposed) return;
self.openPercentage(0);
};

Expand Down

0 comments on commit b239eb9

Please sign in to comment.