mirror of
https://github.com/wahyd4/jQuery-Tags-Input.git
synced 2026-08-10 21:36:23 +10:00
Fix problem in importTags where tag elements were not properly removed due to missing definition of id variable
This commit is contained in:
@@ -113,6 +113,7 @@
|
||||
|
||||
// clear all existing tags and import new ones from a string
|
||||
$.fn.importTags = function(str) {
|
||||
id = $(this).attr('id');
|
||||
$('#'+id+'_tagsinput .tag').remove();
|
||||
$.fn.tagsInput.importTags(this,str);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user