Making toggling of fat nodes work

This commit is contained in:
Will Marshall
2014-05-29 16:38:01 +10:00
parent d5a652182e
commit aaf9b76507

View File

@@ -1,6 +1,6 @@
Darkswarm.controller "ProducerNodeCtrl", ($scope, HashNavigation, $anchorScroll) ->
$scope.toggle = ->
HashNavigation.navigate $scope.producer.hash
HashNavigation.toggle $scope.producer.hash
$scope.open = ->
HashNavigation.active($scope.producer.hash)