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