Moved menu expand directive and created menu close directive

This commit is contained in:
TheHollidayInn
2015-08-19 08:53:51 -05:00
parent be87f69cd4
commit e762a51e4c
5 changed files with 82 additions and 42 deletions

View File

@@ -9,9 +9,7 @@ angular.module('habitrpg')
window.location.href = '/logout';
};
$scope.expandMenu = function(menu) {
$scope._expandedMenu = ($scope._expandedMenu == menu) ? null : menu;
};
$scope._expandedMenu = null;
function selectNotificationValue(mysteryValue, invitationValue, cardValue, unallocatedValue, messageValue, noneValue) {
var user = $scope.user;