From 55355ba28e8805e1a59afdad2ae0409a5f01aebb Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Thu, 14 Nov 2013 14:18:22 +0100 Subject: [PATCH] Fixed multiselect to not set the button's height on itself after select Fixes #5841 --- core/js/multiselect.js | 2 -- 1 file changed, 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',''); -- 2.39.5