Getting some switching into place

This commit is contained in:
Will Marshall
2014-03-20 14:36:00 +11:00
parent 0cabc2eb4d
commit d8a7860d51
4 changed files with 18 additions and 5 deletions

View File

@@ -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 != ""