front/elements: add id to urgent notice child

Signed-off-by: wukko <me@wukko.me>
This commit is contained in:
wukko 2024-03-31 22:15:31 +06:00
parent 5bf8d954a4
commit ae9e9ec491
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2

View file

@ -217,7 +217,7 @@ export function celebrationsEmoji() {
export function urgentNotice(obj) {
if (obj.visible) {
return `<div id="urgent-notice" class="urgent-notice explanation">` +
`<span class="urgent-text" onclick="${obj.action}">${emoji(obj.emoji, 18)} ${obj.text}</span>` +
`<span id="urgent-notice-child" class="urgent-text" onclick="${obj.action}">${emoji(obj.emoji, 18)} ${obj.text}</span>` +
`</div>`
}
return ``