Skip to content

Commit e1f136b

Browse files
exsideunderovsky
authored andcommitted
Add class to tag text
1 parent 5407e21 commit e1f136b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jquery.tagsinput-revisited.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
}
2929

3030
$('<span>').addClass('tag').append(
31-
$('<span>').text(value),
31+
$('<span>', {class: 'tag-text'}).text(value),
3232
$('<button>', {class: 'tag-remove'}).click(function() {
3333
return $('#' + id).removeTag(encodeURI(value));
3434
})

0 commit comments

Comments
 (0)