fix: fix aria-hidden on toast (#1194)

* fix: fix aria-hidden on toast

* fixup
This commit is contained in:
Nolan Lawson 2019-05-08 07:51:53 -07:00 committed by GitHub
parent 2425ca8f72
commit c56d561e9d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
<div class="toast-modal {shown ? 'shown' : ''}" role="alert" aria-hidden={shown}>
<div class="toast-modal {shown ? 'shown' : ''}" role="alert" aria-hidden={!shown}>
<div class="toast-container">
{text}
</div>