Prevent ENTER key up refresh the page
Summary
The theme includes a search bar. The users can type some search keywords and type the ENTER keyboard touch.
Current behavior
A POST is sent to the page and the page is refreshed when the users press the ENTER keyboard touch from the search bar.
Expected behavior
Disable the default behavior that refreshes the page when the users press the ENTER keyboard touch from the search bar.