Browse Source

Merge pull request #136 from AitBits/patch-1

Fix crash when ESC is pressed on authentication.
sisyphus
Dustin Falgout 8 years ago committed by GitHub
parent
commit
9d71b445a5
  1. 2
      themes/default/js/greeter.js

2
themes/default/js/greeter.js vendored

@ -678,7 +678,7 @@ class Theme {
this.selected_user = null; this.selected_user = null;
this.auth_pending = false; this.auth_pending = false;
if ( $( event.target ).hasClass( 'alert' ) ) { if ( event && $( event.target ).hasClass( 'alert' ) ) {
/* We were triggered by the authentication failed message being dismissed. /* We were triggered by the authentication failed message being dismissed.
* Keep the same account selected so user can retry without re-selecting an account. * Keep the same account selected so user can retry without re-selecting an account.
*/ */

Loading…
Cancel
Save