Commit 7509575f authored by zauberstuhl's avatar zauberstuhl

Disable BS popup on flash alerts

parent ba050da6
Pipeline #132 failed with stages
in 7 minutes and 12 seconds
// clicking the cross icon on any kind of
// alert should hide the element
$("#flash-container .alert").click(function() {
$(this).hide();
});
$("#flash-container .alert i").unbind();
$("#flash-container .alert-success").fadeOut(2000);
// display a status message
function notify(msg) {
var div = $('<div class="alert alert-success mb-1">');
......
......@@ -17,10 +17,3 @@ if (anchors !== null) {
postElem.addClass("text-white bg-info");
postElem.find(".card-header").addClass("text-white bg-info");
}
// clicking the cross icon on any kind of
// alert should hide the element
$("#flash-container .alert").click(function() {
$(this).hide();
});
$("#flash-container .alert-success").fadeOut(2000);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment