diff --git a/static/index.jade b/static/index.jade index 46ac301..9e7e815 100644 --- a/static/index.jade +++ b/static/index.jade @@ -16,8 +16,9 @@ html .body .container.clearfix - input#username(type="text", placeholder="Enter your GitHub username") - button(onclick="subscribe()") Subscribe to Calendar + form(onsubmit="subscribe()") + input#username(type="text", placeholder="Enter your GitHub username") + button(type="submit") Subscribe to Calendar .footer .container.copyright.clearfix .left