#541 add "show more" link to producers lists in hub on home page

This commit is contained in:
Rick Giner
2015-05-11 20:31:24 +10:00
parent e8c8d8885c
commit 62ae38372e
6 changed files with 37 additions and 8 deletions

View File

@@ -1,6 +1,6 @@
Darkswarm.controller "HubNodeCtrl", ($scope, HashNavigation, Navigation, $location, $templateCache, CurrentHub) ->
$scope.toggle = ->
HashNavigation.toggle $scope.hub.hash
$scope.toggle = (e) ->
HashNavigation.toggle $scope.hub.hash if !angular.element(e.target).inheritedData('is-link')
$scope.open = ->
HashNavigation.active $scope.hub.hash