Merge branch 'bootstrap' of https://github.com/PrestaShop/PrestaShop into bootstrap
This commit is contained in:
commit
a620c5044f
1 file changed
+1
-1
@@ -699,7 +699,7 @@ $.Autocompleter.Select = function (options, input, select, config) {
|
|||||||
show: function() {
|
show: function() {
|
||||||
var offset = $(input).offset();
|
var offset = $(input).offset();
|
||||||
element.css({
|
element.css({
|
||||||
width: typeof options.width == "string" || options.width > 0 ? options.width : $(input).width(),
|
width: typeof options.width == "string" || options.width > 0 ? options.width : ($(input).width() + parseInt($(input).css('padding-left')) + parseInt($(input).css('padding-right')) + parseInt($(input).css('margin-left')) + parseInt($(input).css('margin-right'))),
|
||||||
top: offset.top + input.offsetHeight,
|
top: offset.top + input.offsetHeight,
|
||||||
left: offset.left
|
left: offset.left
|
||||||
}).show();
|
}).show();
|
||||||
|
|||||||
Reference in new issue
Block a user