mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-14 12:19:59 +00:00
front/elements: add id to urgent notice child
Signed-off-by: wukko <me@wukko.me>
This commit is contained in:
parent
5bf8d954a4
commit
ae9e9ec491
1 changed files with 1 additions and 1 deletions
|
@ -217,7 +217,7 @@ export function celebrationsEmoji() {
|
||||||
export function urgentNotice(obj) {
|
export function urgentNotice(obj) {
|
||||||
if (obj.visible) {
|
if (obj.visible) {
|
||||||
return `<div id="urgent-notice" class="urgent-notice explanation">` +
|
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>`
|
`</div>`
|
||||||
}
|
}
|
||||||
return ``
|
return ``
|
||||||
|
|
Loading…
Reference in a new issue