Skip to content
This repository has been archived by the owner on May 22, 2019. It is now read-only.

fixed exception on esc key pressed #36

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion js/greeter.js
Original file line number Diff line number Diff line change
Expand Up @@ -722,7 +722,7 @@ class AntergosTheme {
_self.selected_user = null;
_self.auth_pending = false;

if ( $(event.target).hasClass('alert') ) {
if ( !!event && $(event.target).hasClass('alert') ) {
/* We were triggered by the authentication failed message being dismissed.
* Keep the same account selected so user can retry without re-selecting an account.
*/
Expand Down