Fixed multiselect to not set the button's height on itself after select
Fixes #5841
This commit is contained in:
parent
8d0d0836ba
commit
55355ba28e
|
@ -156,8 +156,6 @@
|
||||||
var newOuterWidth=Math.max((button.outerWidth()-2),settings.minOuterWidth)+'px';
|
var newOuterWidth=Math.max((button.outerWidth()-2),settings.minOuterWidth)+'px';
|
||||||
var newWidth=Math.max(button.width(),settings.minWidth);
|
var newWidth=Math.max(button.width(),settings.minWidth);
|
||||||
var pos=button.position();
|
var pos=button.position();
|
||||||
button.css('height',button.height());
|
|
||||||
button.css('white-space','nowrap');
|
|
||||||
button.css('width',oldWidth);
|
button.css('width',oldWidth);
|
||||||
button.animate({'width':newWidth},undefined,undefined,function(){
|
button.animate({'width':newWidth},undefined,undefined,function(){
|
||||||
button.css('width','');
|
button.css('width','');
|
||||||
|
|
Loading…
Reference in New Issue