diff --git a/browserid/static/dialog/controllers/authenticate_controller.js b/browserid/static/dialog/controllers/authenticate_controller.js index 4daaa55d7bd90a33bd7e173ab0845d886c0a51bf..94b2135fce6273e02cb9d830a169705327a5b6d9 100644 --- a/browserid/static/dialog/controllers/authenticate_controller.js +++ b/browserid/static/dialog/controllers/authenticate_controller.js @@ -209,7 +209,15 @@ } }, - "#email keyup": enterEmailState, + "#email keyup": function(el, event) { + // Fixes a bug in IE9 that does not pick up the input event on + // a backspace. + if(event.which === 8) { + enterEmailState.call(this, el); + } + }, + // This is part of the HTML5 spec + "#email input": enterEmailState, "#forgotPassword click": forgotPasswordState, "#cancel_forgot_password click": cancelForgotPassword });