Removing the generic handling on hashes

This commit is contained in:
Will Marshall
2014-05-08 17:01:53 +10:00
parent ab64de5838
commit f5ca01d344

View File

@@ -14,6 +14,3 @@ window.Darkswarm = angular.module("Darkswarm", ["ngResource",
# This allows us to trigger these two events on tooltips
$tooltipProvider.setTriggers( 'openTrigger': 'closeTrigger' )
Darkswarm.run ($rootScope, $location, $anchorScroll) ->
$rootScope.$on "$locationChangeSuccess", (newRoute, oldRoute) ->
$anchorScroll()