Skip to content
This repository has been archived by the owner on Jul 22, 2022. It is now read-only.

Commit

Permalink
#190 label textField loses focus after adding a label was fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Fernández committed Mar 5, 2014
1 parent f71db17 commit 415c474
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vendor/assets/javascripts/tag-it.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,6 @@
that.createTag(that._cleanedInput());
});


// Autocomplete.
if (this.options.availableTags || this.options.tagSource) {
this._tagInput.autocomplete({
Expand All @@ -229,6 +228,7 @@
}
});
}
this._tagInput.focus();
},

_cleanedInput: function() {
Expand Down

0 comments on commit 415c474

Please sign in to comment.