mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-25 01:23:23 +00:00
Getting some switching into place
This commit is contained in:
@@ -4,6 +4,5 @@ window.SidebarCtrl = Darkswarm.controller "SidebarCtrl", ($scope, $location) ->
|
||||
, ->
|
||||
$scope.active_sidebar = $location.path()
|
||||
|
||||
|
||||
$scope.active = ->
|
||||
return "active" if $scope.active_sidbar != null and $scope.active_sidebar != ""
|
||||
return "active" if $scope.active_sidebar != null and $scope.active_sidebar != ""
|
||||
|
||||
Reference in New Issue
Block a user