Skip to content

Commit

Permalink
Added check filter input exists before calling function on it
Browse files Browse the repository at this point in the history
  • Loading branch information
Palmr committed Jun 2, 2014
1 parent 813c33f commit aaed13a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tagger.js
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,7 @@
// Set width
this._setSuggestionListDimensions();
// Show list
if (this.taggerInput.is(":visible")) {
if (this.taggerFilterInput && this.taggerInput.is(":visible")) {
this.taggerFilterInput.hide();
}
this.taggerSuggestions.show();
Expand Down

0 comments on commit aaed13a

Please sign in to comment.