Merge pull request #183 from shikorism/develop

Release 20190421.1742
This commit is contained in:
shibafu 2019-04-21 17:44:01 +09:00 committed by GitHub
commit 2efb387b6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,7 +11,12 @@ function updateTags() {
} }
function insertTag(value) { function insertTag(value) {
$('#tags').append('<li class="list-inline-item badge badge-primary" style="cursor: pointer;" data-value="' + value + '"><span class="oi oi-tag"></span> ' + value + ' | x</li>'); $('<li class="list-inline-item badge badge-primary" style="cursor: pointer;"><span class="oi oi-tag"></span> <span></span> | x</li>')
.data('value', value)
.children(':last-child')
.text(value)
.end()
.appendTo('#tags');
} }
var initTags = $('input[name=tags]').val(); var initTags = $('input[name=tags]').val();