diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2019-09-25 18:19:42 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2019-10-01 17:16:09 +0200 |
commit | b9bc2417e7a8dc81feb0abe20359bedaf864f790 (patch) | |
tree | 61b47fbf37c1d168da8625224debde9e6a985348 /core/src/jquery/ui-fixes.js | |
parent | 7fb651235128dcbca8a6683b5cdafdf835f46300 (diff) | |
download | nextcloud-server-b9bc2417e7a8dc81feb0abe20359bedaf864f790.tar.gz nextcloud-server-b9bc2417e7a8dc81feb0abe20359bedaf864f790.zip |
Comply to eslint
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
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()) +} |