This commit is contained in:
Max Lynch
2013-11-25 14:26:34 -06:00
parent ee034816fc
commit 4646f5d459
66 changed files with 1596 additions and 34342 deletions

View File

@@ -353,14 +353,10 @@ angular.module('ionic.ui.navRouter', ['ionic.service.gesture'])
if($rootScope.stackCursorPosition > 0) {
$window.history.back();
}
e.alreadyHandled = true;
return false;
};
var tapGesture = Gesture.on('tap', goBack, $element);
$element.bind('click', goBack);
$scope.$on('$destroy', function() {
Gesture.off(tapGesture, 'tap', goBack);
$element.unbind('click', goBack);
});
}
}
}]);