1
0
mirror of https://github.com/exane/not-gwent-online synced 2025-09-02 14:07:31 +00:00

close login

This commit is contained in:
devfake
2015-06-23 10:16:52 +02:00
parent ba0965c016
commit 25dc50a081
2 changed files with 8 additions and 2 deletions

View File

@@ -37,7 +37,13 @@ module.exports = {
setTimeout(function() {
$('.login-username').focus();
}, 500);
}, 300);
},
closeLogin: function(e) {
if($(e.target).context.className == 'modal active') {
this.modal = false;
}
}
}