Skip to content

Commit

Permalink
Merge pull request yuku#46 from yaotti/clean-up-data-correctly
Browse files Browse the repository at this point in the history
Clean up data correctly in deactivatioin
  • Loading branch information
yuku committed Mar 7, 2014
2 parents de4f6b1 + 42f2da1 commit 0ac8580
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion jquery.textcomplete.js
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,8 @@
this.$el.hide();
this.completer.$el.trigger('textComplete:hide');
this.shown = false;
this.data = this.index = null;
this.data = [];
this.index = null;
}
return this;
},
Expand Down

0 comments on commit 0ac8580

Please sign in to comment.