Moderation delay: fix accessibility on the timer shown to moderators.
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user