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:
@@ -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