FIX: Ensure modal alert is hidden when empty (#21565)

We use the `:empty` css selector on `#modal-alert`, so we need to strip any whitespace from the contents to ensure the selector functions correctly. Followup to ad431ab03a
This commit is contained in:
David Taylor
2023-05-16 01:19:53 +01:00
committed by GitHub
parent ee537a7ac1
commit 7962202c64

View File

@@ -68,7 +68,7 @@
)
}}
>
{{this.flash.text}}
{{~this.flash.text~}}
</div>
{{yield}}