diff --git a/app/templates/base.html.j2 b/app/templates/base.html.j2 index 7a544dfc..31fa5c2e 100644 --- a/app/templates/base.html.j2 +++ b/app/templates/base.html.j2 @@ -193,7 +193,7 @@ } } var toast; - var toastActionElement + var toastActionElement; {% for message in get_flashed_messages() %} toast = M.toast({"html": `{{ message }}`}); toastActionElement = toast.el.querySelector(".toast-action[data-action='close']");