fix(menuClose): do not close if aside exposed

This commit is contained in:
Adam Bradley
2014-09-11 15:56:02 -05:00
parent c40db31625
commit b239eb9ed3

View File

@@ -82,6 +82,7 @@ function($scope, $attrs, $ionicSideMenuDelegate, $ionicPlatform, $ionicBody) {
* Close all menus.
*/
self.close = function() {
if(isAsideExposed) return;
self.openPercentage(0);
};