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