Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jpic committed Jun 2, 2015
1 parent fd3e7d9 commit b87e5ff
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/autocomplete.js
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,12 @@ yourlabs.Autocomplete.prototype.initialize = function() {
if (this.box.is(':visible')) this.fixPosition();
}, this));

// Currently, our positioning doesn't work well in Firefox. Since it's not
// the first option on mobile phones and small devices, we'll hide the bug
// until this is fixed.
if (/Firefox/i.test(navigator.userAgent))
$(window).on('scroll', $.proxy(this.hide, this));

if (ie === -1 || ie > 9) {
this.input.on('input.autocomplete', $.proxy(this.refresh, this));
}
Expand Down

0 comments on commit b87e5ff

Please sign in to comment.