]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fixed multiselect to not set the button's height on itself after select
authorVincent Petry <pvince81@owncloud.com>
Thu, 14 Nov 2013 13:18:22 +0000 (14:18 +0100)
committerVincent Petry <pvince81@owncloud.com>
Thu, 14 Nov 2013 13:18:22 +0000 (14:18 +0100)
Fixes #5841

core/js/multiselect.js

index 373fd2d41a22c6907af584db67e3b218a338aaa5..2210df3bc7aa1d03c38cdb1435a5070337aacaff 100644 (file)
                                        var newOuterWidth=Math.max((button.outerWidth()-2),settings.minOuterWidth)+'px';
                                        var newWidth=Math.max(button.width(),settings.minWidth);
                                        var pos=button.position();
-                                       button.css('height',button.height());
-                                       button.css('white-space','nowrap');
                                        button.css('width',oldWidth);
                                        button.animate({'width':newWidth},undefined,undefined,function(){
                                                button.css('width','');