diff options
author | Thomas Tanghus <thomas@tanghus.net> | 2012-12-21 06:17:13 +0100 |
---|---|---|
committer | Thomas Tanghus <thomas@tanghus.net> | 2012-12-21 06:17:13 +0100 |
commit | 689edc2534e5c6c7dbcbda78353baa1edca219bc (patch) | |
tree | 7e47dddf3c0001a2490e9150449ffeabf4bcf7f5 /core/js/multiselect.js | |
parent | 1d55829ba6398dcdabc84282007f2d779d319409 (diff) | |
download | nextcloud-server-689edc2534e5c6c7dbcbda78353baa1edca219bc.tar.gz nextcloud-server-689edc2534e5c6c7dbcbda78353baa1edca219bc.zip |
multiSelect: Make sure up/down classes are removed on close.
Diffstat (limited to 'core/js/multiselect.js')
-rw-r--r-- | core/js/multiselect.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/js/multiselect.js b/core/js/multiselect.js index d66c8eba625..8cb302a3f5a 100644 --- a/core/js/multiselect.js +++ b/core/js/multiselect.js @@ -68,12 +68,12 @@ if(self.menuDirection === 'down') { button.parent().children('ul').slideUp(400,function() { button.parent().children('ul').remove(); - button.removeClass('active'); + button.removeClass('active down'); }); } else { button.parent().children('ul').fadeOut(400,function() { button.parent().children('ul').remove(); - button.removeClass('active').removeClass('up'); + button.removeClass('active up'); }); } return; @@ -267,12 +267,12 @@ if(self.menuDirection === 'down') { button.parent().children('ul').slideUp(400,function() { button.parent().children('ul').remove(); - button.removeClass('active').removeClass('down'); + button.removeClass('active down'); }); } else { button.parent().children('ul').fadeOut(400,function() { button.parent().children('ul').remove(); - button.removeClass('active').removeClass('up'); + button.removeClass('active up'); }); } } |