diff options
Diffstat (limited to 'core/src/jquery/ui-fixes.js')
-rw-r--r-- | core/src/jquery/ui-fixes.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/src/jquery/ui-fixes.js b/core/src/jquery/ui-fixes.js index d3cebfc346e..fb5ce4d7ba8 100644 --- a/core/src/jquery/ui-fixes.js +++ b/core/src/jquery/ui-fixes.js @@ -2,7 +2,7 @@ import $ from 'jquery' // Set autocomplete width the same as the related input // See http://stackoverflow.com/a/11845718 -$.ui.autocomplete.prototype._resizeMenu = function () { - var ul = this.menu.element; - ul.outerWidth(this.element.outerWidth()); -}; +$.ui.autocomplete.prototype._resizeMenu = function() { + var ul = this.menu.element + ul.outerWidth(this.element.outerWidth()) +} |