This commit is contained in:
albert
2013-03-02 22:13:55 -05:00
parent f7a4b2e3fa
commit b874f2d73f
2 changed files with 5 additions and 2 deletions

View File

@@ -14,7 +14,10 @@
}
Danbooru.Upload.initialize_enter_on_tags = function() {
$("#upload_tag_string,#post_tag_string").bind("keydown.return", function() {$("#form").submit();});
$("#upload_tag_string,#post_tag_string").bind("keydown.return", function(e) {
$("#form").submit();
e.preventDefault();
});
}
Danbooru.Upload.initialize_similar = function() {