Disabling mfa in userprofile does not hide button correctly

This commit is contained in:
2026-07-07 23:34:50 +02:00
parent dec038fc0d
commit b4f3553f1e

View File

@@ -76,9 +76,9 @@ function showDeleteConfirmation({
let $element = $("#" + elementId);
if (action === "show") {
$element.fadeIn(500); // Fade in element smoothly
$element.removeClass("d-none").fadeIn(500);
} else if (action === "hide") {
$element.fadeOut(0); // Fade out element smoothly
$element.fadeOut(0).addClass("d-none");
}
}
} catch (error) {