Removed some unnecessary tests no long used

This commit is contained in:
Max Lynch
2014-01-07 18:29:56 -06:00
parent 0c78f59262
commit 6261eda77f
4 changed files with 3 additions and 26 deletions

View File

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