accept return on tag search input

This commit is contained in:
r888888888
2017-10-17 18:27:42 -07:00
parent 8874b274ad
commit 3eae2e279a

View File

@@ -37,6 +37,11 @@
$(e.target).attr('rows', rows + 1);
$(e.target).css("width", "100%");
});
$("#tags").keydown("return", function(e) {
$("#search-box form").submit();
e.preventDefault();
});
});
</script>
<% end %>