mirror of
https://github.com/pterodactyl/panel.git
synced 2024-11-22 09:02:28 +01:00
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) {
|
||||
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 New Issue
Block a user