mirror of
https://github.com/wahyd4/jQuery-Tags-Input.git
synced 2026-08-09 04:46:44 +10:00
Bug fix pertaining to over-escaping tags.
This commit is contained in:
+2
-1
@@ -64,6 +64,7 @@
|
||||
|
||||
jQuery.fn.removeTag = function(value) {
|
||||
|
||||
value = unescape(value);
|
||||
this.each(function() {
|
||||
id = $(this).attr('id');
|
||||
|
||||
@@ -73,7 +74,7 @@
|
||||
$('#'+id+'_tagsinput .tag').remove();
|
||||
str = '';
|
||||
for (i=0; i< old.length; i++) {
|
||||
if (escape(old[i])!=value) {
|
||||
if (old[i]!=value) {
|
||||
str = str + delimiter[id] +old[i];
|
||||
}
|
||||
}
|
||||
|
||||
Vendored
+21
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user