mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-24 02:24:20 +00:00
Make toasts eckig again!
This commit is contained in:
parent
5aa4fcd66f
commit
6d65521000
@ -193,7 +193,7 @@
|
||||
}
|
||||
}
|
||||
{% for message in get_flashed_messages() %}
|
||||
M.toast({"classes": "rounded", "html": '<span>{{ message }}</span><button class="btn-flat toast-action red-text" data-action="close"><i class="material-icons">close</i></button>'});
|
||||
M.toast({"html": '<span>{{ message }}</span><button class="btn-flat toast-action red-text" data-action="close"><i class="material-icons">close</i></button>'});
|
||||
{% endfor %}
|
||||
for (toastActionElement of document.querySelectorAll(".toast-action[data-action='close']")) {
|
||||
toastActionElement.addEventListener("click", function(event) {
|
||||
|
Loading…
Reference in New Issue
Block a user