Notifications are closable

This commit is contained in:
Ludovic Stephan 2020-08-28 16:11:50 +02:00 committed by Martin Pépin
parent 1ac3e0f976
commit 8fa635773c
No known key found for this signature in database
GPG key ID: E7520278B1774448
2 changed files with 29 additions and 18 deletions

7
bds/static/bds/js/bds.js Normal file
View file

@ -0,0 +1,7 @@
$(function () {
// Close notifications when delete button is pressed
$(".notification .delete").on("click", function () {
$(this).parent().remove();
});
});