updated script to work properly with multiple instances

This commit is contained in:
Bartosz Grzybowski
2012-01-02 16:30:40 +01:00
parent 6d2b1d3b72
commit 51d058c46b
2 changed files with 5 additions and 4 deletions
+4 -3
View File
@@ -194,8 +194,10 @@
if (settings.hide) {
$(this).hide();
}
var id = $(this).attr('id')
var id = $(this).attr('id');
if (!id || delimiter[$(this).attr('id')]) {
id = $(this).attr('id', 'tags' + new Date().getTime()).attr('id');
}
var data = jQuery.extend({
pid:id,
@@ -321,7 +323,6 @@
});
}
} // if settings.interactive
return false;
});
return this;
+1 -1
View File
File diff suppressed because one or more lines are too long