mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
fix(menuClose): do not close if aside exposed
This commit is contained in:
1
js/angular/controller/sideMenuController.js
vendored
1
js/angular/controller/sideMenuController.js
vendored
@@ -82,6 +82,7 @@ function($scope, $attrs, $ionicSideMenuDelegate, $ionicPlatform, $ionicBody) {
|
||||
* Close all menus.
|
||||
*/
|
||||
self.close = function() {
|
||||
if(isAsideExposed) return;
|
||||
self.openPercentage(0);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user