croby/sakai-widgetlibrary — comment on commit f4eba8c48032dd40ad89b32e060c788f6d9933e0
File: app/assets/javascripts/browse.js line 79
By croby:

When hitting enter in the search box, the button in the form is implicitly clicked, and I couldn't figure out why that was happening. Checking for e.clientX ensures that the click was actually a mouse click.