Moderation delay: fix accessibility on the timer shown to moderators.
This commit is contained in:
parent
31646beac3
commit
9679aec739
@ -1,5 +1,11 @@
|
||||
# Changelog
|
||||
|
||||
## ??? (Not Released Yet)
|
||||
|
||||
### Minor changes and fixes
|
||||
|
||||
* Moderation delay: fix accessibility on the timer shown to moderators.
|
||||
|
||||
## 10.3.0
|
||||
|
||||
### New features
|
||||
|
@ -42,7 +42,7 @@ export const moderationDelayPlugin = {
|
||||
|
||||
// Ok... We will add some info about how many remains...
|
||||
r.pretty_time = window.converse.env.html`
|
||||
${r.pretty_time} - ${Math.round(remains)}⏱
|
||||
${r.pretty_time}<span aria-hidden="true"> - ${Math.round(remains)}⏱</span>
|
||||
`
|
||||
// and we must update in 1 second...
|
||||
setTimeout(() => this.requestUpdate(), 1000)
|
||||
|
Loading…
Reference in New Issue
Block a user