mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 15:17:25 +01:00
Moved menu expand directive and created menu close directive
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user