Hash toggling

This commit is contained in:
Will Marshall
2014-05-08 13:16:10 +10:00
parent 967f2827bf
commit 50f5a1c46f
6 changed files with 32 additions and 56 deletions

View File

@@ -14,7 +14,3 @@ Darkswarm.controller "HubNodeCtrl", ($scope, HashNavigation, $location, $anchorS
$scope.changeHub = ->
if confirm "Are you sure? This will change your selected Hub and remove any items in you shopping cart."
Navigation.go $scope.hub.path
if $scope.open()
$anchorScroll()