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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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