From 250bee6a91c810b098fc1c8c221d412eb079b393 Mon Sep 17 00:00:00 2001 From: Jeff Atwood Date: Wed, 29 Oct 2014 13:47:17 -0700 Subject: [PATCH] move create new dialog autofocus to email field --- .../javascripts/discourse/templates/modal/create-account.hbs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/discourse/templates/modal/create-account.hbs b/app/assets/javascripts/discourse/templates/modal/create-account.hbs index 59bcdae4ea..a26ba984e2 100644 --- a/app/assets/javascripts/discourse/templates/modal/create-account.hbs +++ b/app/assets/javascripts/discourse/templates/modal/create-account.hbs @@ -12,7 +12,7 @@ - {{input type="email" value=accountEmail id="new-account-email" disabled=emailValidated name="email"}} + {{input type="email" value=accountEmail id="new-account-email" disabled=emailValidated name="email" autofocus="autofocus"}}  {{input-tip validation=emailValidation}} @@ -36,7 +36,7 @@ - {{text-field value=accountName id="new-account-name" autofocus="autofocus"}} + {{text-field value=accountName id="new-account-name"}}  {{input-tip validation=nameValidation}}