remove +3 in multiselect.js
This commit is contained in:
parent
de012667c7
commit
d60e4b9efa
|
@ -161,7 +161,7 @@
|
||||||
button.animate({'width':newWidth},undefined,undefined,function(){
|
button.animate({'width':newWidth},undefined,undefined,function(){
|
||||||
button.css('width','');
|
button.css('width','');
|
||||||
});
|
});
|
||||||
list.animate({'width':newOuterWidth,'left':pos.left+3});
|
list.animate({'width':newOuterWidth,'left':pos.left});
|
||||||
self.change();
|
self.change();
|
||||||
});
|
});
|
||||||
var li=$('<li></li>');
|
var li=$('<li></li>');
|
||||||
|
@ -272,7 +272,7 @@
|
||||||
) {
|
) {
|
||||||
list.css({
|
list.css({
|
||||||
top:pos.top+button.outerHeight()-5,
|
top:pos.top+button.outerHeight()-5,
|
||||||
left:pos.left+3,
|
left:pos.left,
|
||||||
width:(button.outerWidth()-2)+'px',
|
width:(button.outerWidth()-2)+'px',
|
||||||
'max-height':($(document).height()-(button.offset().top+button.outerHeight()+10))+'px'
|
'max-height':($(document).height()-(button.offset().top+button.outerHeight()+10))+'px'
|
||||||
});
|
});
|
||||||
|
@ -283,7 +283,7 @@
|
||||||
list.css('max-height', $(document).height()-($(document).height()-(pos.top)+50)+'px');
|
list.css('max-height', $(document).height()-($(document).height()-(pos.top)+50)+'px');
|
||||||
list.css({
|
list.css({
|
||||||
top:pos.top - list.height(),
|
top:pos.top - list.height(),
|
||||||
left:pos.left+3,
|
left:pos.left,
|
||||||
width:(button.outerWidth()-2)+'px'
|
width:(button.outerWidth()-2)+'px'
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue