mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
Added ability to select tags in tag input
This commit is contained in:
@ -40,6 +40,9 @@ App.Controls.TagInput = function(
|
||||
$wrapper.append($input);
|
||||
$wrapper.insertAfter($underlyingInput);
|
||||
$wrapper.click(function(e) {
|
||||
if (e.target.nodeName === 'LI') {
|
||||
return;
|
||||
}
|
||||
e.preventDefault();
|
||||
$input.focus();
|
||||
});
|
||||
|
Reference in New Issue
Block a user