mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 04:03:57 -06:00
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:
parent
ee537a7ac1
commit
7962202c64
@ -68,7 +68,7 @@
|
||||
)
|
||||
}}
|
||||
>
|
||||
{{this.flash.text}}
|
||||
{{~this.flash.text~}}
|
||||
</div>
|
||||
|
||||
{{yield}}
|
||||
|
Loading…
Reference in New Issue
Block a user