When entering a term in the search bar, the possible options come up, ut if one presses Enter at that point, the site is reloaded. Have been unable to capture the event using the Javascript function that actually captures the users typing.
Olle added a onsubmit="return false;" to the form class in term.html and I added a length check on the captured term (nothing less than 1 character gets sent).
if (request_parameters.q.length > 1) { in the main.js file.
When entering a term in the search bar, the possible options come up, ut if one presses Enter at that point, the site is reloaded. Have been unable to capture the event using the Javascript function that actually captures the users typing.