summaryrefslogtreecommitdiffstats
path: root/core/js/multiselect.js
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2013-11-14 14:18:22 +0100
committerVincent Petry <pvince81@owncloud.com>2013-11-14 14:18:22 +0100
commit55355ba28e8805e1a59afdad2ae0409a5f01aebb (patch)
tree822481d689d9ee0a612fad1792b1c050c6ed282d /core/js/multiselect.js
parent8d0d0836bae968d3abff5f5ff9db230d449397a6 (diff)
downloadnextcloud-server-55355ba28e8805e1a59afdad2ae0409a5f01aebb.tar.gz
nextcloud-server-55355ba28e8805e1a59afdad2ae0409a5f01aebb.zip
Fixed multiselect to not set the button's height on itself after select
Fixes #5841
Diffstat (limited to 'core/js/multiselect.js')
-rw-r--r--core/js/multiselect.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/core/js/multiselect.js b/core/js/multiselect.js
index 373fd2d41a2..2210df3bc7a 100644
--- a/core/js/multiselect.js
+++ b/core/js/multiselect.js
@@ -156,8 +156,6 @@
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','');