diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2017-09-28 11:55:25 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2017-09-28 11:55:25 +0200 |
commit | 7fb329294958beab28a2cbd8370d5733de8ec4d0 (patch) | |
tree | b164a49cd8babf6212791e2e5a51838c5331f796 /settings/js/users/users.js | |
parent | c1795b0611875b309ad099e285fdfd54dad91804 (diff) | |
download | nextcloud-server-7fb329294958beab28a2cbd8370d5733de8ec4d0.tar.gz nextcloud-server-7fb329294958beab28a2cbd8370d5733de8ec4d0.zip |
Popover to css guidelines
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'settings/js/users/users.js')
-rw-r--r-- | settings/js/users/users.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/settings/js/users/users.js b/settings/js/users/users.js index f0ba433e862..4a4faf13ec7 100644 --- a/settings/js/users/users.js +++ b/settings/js/users/users.js @@ -955,9 +955,12 @@ $(document).ready(function () { if ($tr.is('.active')) { $tr.removeClass('active'); + menudiv.removeClass('open'); return; } $('#userlist tr.active').removeClass('active'); + $('#userlist .popovermenu').removeClass('open'); + menudiv.addClass('open'); menudiv.find('.action-togglestate').empty(); if ($tr.data('userEnabled')) { $('.action-togglestate', $td).html('<span class="icon icon-close"></span><span>' + t('settings', 'Disable') + '</span>'); |