Fixed multiselect to not set the button's height on itself after select

Fixes #5841
This commit is contained in:
Vincent Petry 2013-11-14 14:18:22 +01:00
parent 8d0d0836ba
commit 55355ba28e
1 changed files with 0 additions and 2 deletions

View File

@ -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','');