And patching bugs in nav

This commit is contained in:
Will Marshall
2014-05-08 16:59:18 +10:00
parent d07ecb742b
commit ab64de5838
3 changed files with 11 additions and 4 deletions

View File

@@ -14,3 +14,6 @@ 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()