mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
Removed some unnecessary tests no long used
This commit is contained in:
@@ -60,10 +60,6 @@ angular.module('ionic.ui.sideMenu', ['ionic.service.gesture'])
|
||||
var defaultPrevented = false;
|
||||
var isDragging = false;
|
||||
|
||||
var readDefaultPrevented = function(e) {
|
||||
// If the child element prevented the drag, don't drag
|
||||
defaultPrevented = e.defaultPrevented;
|
||||
}
|
||||
ionic.on('mousedown', readDefaultPrevented);
|
||||
|
||||
// Listen for taps on the content to close the menu
|
||||
|
||||
Reference in New Issue
Block a user