mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
Fixed tag input not adding current tag on blur
This commit is contained in:
@ -45,6 +45,9 @@ App.Controls.TagInput = function(
|
||||
});
|
||||
$input.unbind('blur').bind('blur', function(e) {
|
||||
$wrapper.removeClass('focused');
|
||||
var tag = $input.val();
|
||||
addTag(tag);
|
||||
$input.val('');
|
||||
});
|
||||
|
||||
$input.unbind('paste').bind('paste', function(e) {
|
||||
|
Reference in New Issue
Block a user