Prevent double uploading when mashing enter key in tag edit box.

This commit is contained in:
evazion
2016-12-18 18:45:02 -06:00
parent 3e285ea4ce
commit b7246d335f

View File

@@ -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();
});
}