Bug: Global search occurs twice

This commit is contained in:
Gary Sharp
2013-09-12 13:25:30 +10:00
parent 122f719e3b
commit 75ebfdaa80
4 changed files with 11 additions and 1 deletions
@@ -7,6 +7,7 @@
$('#term').watermark('Search').keypress(function (e) {
if (e.keyCode == 13) {
$(this).closest('form').submit();
return false;
}
}).focus(function () {
$(this).select();