From d6b3f2c979aa48af62370aaa9dccd3d71dd01f58 Mon Sep 17 00:00:00 2001 From: unstop Date: Sun, 27 Jul 2014 10:51:15 +0800 Subject: [PATCH] enter to submit --- static/index.jade | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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