Skip to content

Commit

Permalink
Fixed typos
Browse files Browse the repository at this point in the history
Added the forgotten `s` to the `this.options` + the forgotten `this` to `this.theme`
  • Loading branch information
kristofdegrave authored Jan 18, 2018
1 parent c773651 commit 02db147
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bootstrap3-typeahead.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@
this.followLinkOnSelect = this.options.followLinkOnSelect || this.followLinkOnSelect;
this.source = this.options.source;
this.delay = this.options.delay;
this.theme = this.option.theme && this.options.themes && this.options.themes[this.options.theme] || Typeahead.defaults.themes[Typeahead.defaults.theme];
this.$menu = $(this.options.menu || theme.menu);
this.theme = this.options.theme && this.options.themes && this.options.themes[this.options.theme] || Typeahead.defaults.themes[Typeahead.defaults.theme];
this.$menu = $(this.options.menu || this.theme.menu);
this.$appendTo = this.options.appendTo ? $(this.options.appendTo) : null;
this.fitToElement = typeof this.options.fitToElement == 'boolean' ? this.options.fitToElement : false;
this.shown = false;
Expand Down

0 comments on commit 02db147

Please sign in to comment.