From 016e89a4633cc4a94eabf64e78b5d69db5456282 Mon Sep 17 00:00:00 2001 From: Marcin Kurczewski Date: Tue, 30 Sep 2014 22:15:37 +0200 Subject: [PATCH] Added autofocus to login form --- public_html/js/Presenters/LoginPresenter.js | 1 + 1 file changed, 1 insertion(+) diff --git a/public_html/js/Presenters/LoginPresenter.js b/public_html/js/Presenters/LoginPresenter.js index 9dd558b9..317da96c 100644 --- a/public_html/js/Presenters/LoginPresenter.js +++ b/public_html/js/Presenters/LoginPresenter.js @@ -27,6 +27,7 @@ App.Presenters.LoginPresenter = function( finishLogin(); } else { render(); + $el.find('input:eq(0)').focus(); } loaded(); });