+ fix autocomplete width (fix #2324) Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>pull/2340/head
parent
47646794b9
commit
9528045178
@ -0,0 +1,8 @@ |
||||
// Various jquery fixes
|
||||
|
||||
// Set autocomplete width the same as the related input
|
||||
// See http://stackoverflow.com/a/11845718
|
||||
jQuery.ui.autocomplete.prototype._resizeMenu = function () { |
||||
var ul = this.menu.element; |
||||
ul.outerWidth(this.element.outerWidth()); |
||||
} |
||||
Loading…
Reference in new issue