Browse Source

Merge pull request #81 from stefek99/patch-1

Adding autofocus attribute
JeongHoon Byun (aka Outsider) 7 years ago
parent
commit
49798f685a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      views/index.jade

+ 1 - 1
views/index.jade

@@ -16,7 +16,7 @@ html
         .content
           .information
             form(method="POST", action="/invite")#join-form.form
-              input(type="email", name="email", placeholder="#{__('ENTER_EMAIL')}")#slack-email.field
+              input(type="email", name="email", autofocus, placeholder="#{__('ENTER_EMAIL')}")#slack-email.field
               if tokenRequired
                 input(type="text", name="token", placeholder="#{__('ENTER_TOKEN')}")#slack-token.field
               input(type="submit", value="Join").submit