diff --git a/assets/js/um-functions.js b/assets/js/um-functions.js index 292604ab..1bbc1c78 100644 --- a/assets/js/um-functions.js +++ b/assets/js/um-functions.js @@ -865,4 +865,15 @@ function um_reset_field( dOm ){ .val('') .removeAttr('checked') .removeAttr('selected'); -} \ No newline at end of file +} + +jQuery(function(){ + + jQuery(".um-search form *").keypress(function(e){ + if (e.which == 13) { + jQuery('.um-search form').submit(); + return false; + } + }); + +}); \ No newline at end of file