diff --git a/browserid/static/dialog/controllers/pickemail_controller.js b/browserid/static/dialog/controllers/pickemail_controller.js index 86358f9e95b308c1c9224f2324b8fef6d5ccfebe..b0ebdaa3dc657175cef6444768d5d45877b9615a 100644 --- a/browserid/static/dialog/controllers/pickemail_controller.js +++ b/browserid/static/dialog/controllers/pickemail_controller.js @@ -184,6 +184,13 @@ $("body").css("opacity", "1"); + if($("#selectEmail input[type=radio]:visible").length === 0) { + // If there is only one email address, the radio button is never shown, + // instead focus the sign in button so that the user can click enter. + // issue #412 + $("#signInButton").focus(); + } + pickEmailState.call(this); },