nextcloud/core/js/jquery-ui-fixes.js

9 lines
259 B
JavaScript
Raw Normal View History

// 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());
}