Add missing ";"

This commit is contained in:
Patrick Jentsch 2020-01-08 13:20:56 +01:00
parent 4446260c10
commit 2308ed9a87

View File

@ -193,7 +193,7 @@
} }
} }
var toast; var toast;
var toastActionElement var toastActionElement;
{% for message in get_flashed_messages() %} {% for message in get_flashed_messages() %}
toast = M.toast({"html": `<span>{{ message }}</span><button class="btn-flat toast-action red-text" data-action="close"><i class="material-icons">close</i></button>`}); toast = M.toast({"html": `<span>{{ message }}</span><button class="btn-flat toast-action red-text" data-action="close"><i class="material-icons">close</i></button>`});
toastActionElement = toast.el.querySelector(".toast-action[data-action='close']"); toastActionElement = toast.el.querySelector(".toast-action[data-action='close']");