mirror of
https://github.com/exane/not-gwent-online
synced 2024-10-31 10:36:53 +00:00
close login
This commit is contained in:
parent
ba0965c016
commit
25dc50a081
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
<div class="modal" v-class="active: modal">
|
||||
<div class="modal" v-class="active: modal" v-on="click: closeLogin">
|
||||
<div class="modal-banner">
|
||||
<div class="wrap-modal-login">
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user