diff --git a/jquery.mentions.coffee b/jquery.mentions.coffee index aa17d50..537207a 100644 --- a/jquery.mentions.coffee +++ b/jquery.mentions.coffee @@ -475,7 +475,6 @@ class MentionsContenteditable extends MentionsBase clear: -> @input.html('') - @_update() destroy: -> @input.editablecomplete "destroy" diff --git a/jquery.mentions.js b/jquery.mentions.js index 57f0b35..d3afff1 100644 --- a/jquery.mentions.js +++ b/jquery.mentions.js @@ -640,8 +640,7 @@ }; MentionsContenteditable.prototype.clear = function() { - this.input.html(''); - return this._update(); + return this.input.html(''); }; MentionsContenteditable.prototype.destroy = function() {