fix revealing module and jquery3 of 2fa-modal
This commit is contained in:
parent
2efd6865e3
commit
b91e3d95f8
1 changed files with 2 additions and 3 deletions
|
@ -37,7 +37,7 @@ var TwoFactorModal = (function () {
|
|||
}).done(function (data) {
|
||||
var image = new Image();
|
||||
image.src = data.qrImage;
|
||||
$(image).load(function () {
|
||||
$(image).on('load', function () {
|
||||
$('#hide_img_load').slideUp(function () {
|
||||
$('#qr_image_insert').attr('src', image.src).slideDown();
|
||||
});
|
||||
|
@ -85,7 +85,6 @@ var TwoFactorModal = (function () {
|
|||
bindListeners();
|
||||
}
|
||||
}
|
||||
|
||||
});
|
||||
})();
|
||||
|
||||
TwoFactorModal.init();
|
||||
|
|
Loading…
Reference in a new issue