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