Prevent double uploading when mashing enter key in tag edit box.
This commit is contained in:
@@ -31,7 +31,9 @@
|
||||
if (!Danbooru.autocompleting) {
|
||||
$("#form").trigger("submit");
|
||||
$("#quick-edit-form").trigger("submit");
|
||||
$("#upload_tag_string,#post_tag_string").unbind("keydown");
|
||||
}
|
||||
|
||||
e.preventDefault();
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user