The labels on the boilerplate pages were positioned weirdly on all browsers but Chrome (http://infinitered.d.pr/n7T2). The first commit fixes that issue.
The second commit adds an event listener for the Enter key on the boilerplate pages. Since the pages don't have a <form> element, you can't "submit" the inputs just by pressing enter. I added a function to detect the event and trigger a click which is what your code already handles.
The labels on the boilerplate pages were positioned weirdly on all browsers but Chrome (http://infinitered.d.pr/n7T2). The first commit fixes that issue.
The second commit adds an event listener for the Enter key on the boilerplate pages. Since the pages don't have a
<form>
element, you can't "submit" the inputs just by pressing enter. I added a function to detect the event and trigger a click which is what your code already handles.