We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b34fc5d commit 3048f48Copy full SHA for 3048f48
src/jquery.autocomplete.js
@@ -658,22 +658,21 @@
658
noSuggestionsContainer.detach();
659
container.html(html);
660
661
+ if ($.isFunction(beforeRender)) {
662
+ beforeRender.call(that.element, container);
663
+ }
664
+
665
+ that.fixPosition();
666
+ container.show();
667
668
// Select first value by default:
669
if (options.autoSelectFirst) {
670
that.selectedIndex = 0;
671
container.scrollTop(0);
672
container.children().first().addClass(classSelected);
673
}
674
- if ($.isFunction(beforeRender)) {
- beforeRender.call(that.element, container);
- }
-
- that.fixPosition();
- container.show();
675
that.visible = true;
676
677
that.findBestHint();
678
},
679
0 commit comments