Browse Source

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

Fixes #5841
remotes/origin/stable6
Vincent Petry 13 years ago
parent
commit
55355ba28e
  1. 2
      core/js/multiselect.js

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

Loading…
Cancel
Save