mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
Fixed side menu
This commit is contained in:
3
dist/js/ionic-angular.js
vendored
3
dist/js/ionic-angular.js
vendored
@@ -1759,8 +1759,6 @@ angular.module('ionic.ui.sideMenu', ['ionic.service.gesture'])
|
||||
var defaultPrevented = false;
|
||||
var isDragging = false;
|
||||
|
||||
ionic.on('mousedown', readDefaultPrevented);
|
||||
|
||||
// Listen for taps on the content to close the menu
|
||||
/*
|
||||
ionic.on('tap', function(e) {
|
||||
@@ -1832,7 +1830,6 @@ angular.module('ionic.ui.sideMenu', ['ionic.service.gesture'])
|
||||
Gesture.off(dragUpGesture, 'dragup', dragFn);
|
||||
Gesture.off(dragDownGesture, 'dragdown', dragFn);
|
||||
Gesture.off(releaseGesture, 'release', dragReleaseFn);
|
||||
ionic.off('mousedown', readDefaultPrevented);
|
||||
});
|
||||
};
|
||||
}
|
||||
|
||||
4
dist/js/ionic-angular.min.js
vendored
4
dist/js/ionic-angular.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -60,8 +60,6 @@ angular.module('ionic.ui.sideMenu', ['ionic.service.gesture'])
|
||||
var defaultPrevented = false;
|
||||
var isDragging = false;
|
||||
|
||||
ionic.on('mousedown', readDefaultPrevented);
|
||||
|
||||
// Listen for taps on the content to close the menu
|
||||
/*
|
||||
ionic.on('tap', function(e) {
|
||||
@@ -133,7 +131,6 @@ angular.module('ionic.ui.sideMenu', ['ionic.service.gesture'])
|
||||
Gesture.off(dragUpGesture, 'dragup', dragFn);
|
||||
Gesture.off(dragDownGesture, 'dragdown', dragFn);
|
||||
Gesture.off(releaseGesture, 'release', dragReleaseFn);
|
||||
ionic.off('mousedown', readDefaultPrevented);
|
||||
});
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user