mirror of
https://github.com/imputnet/cobalt.git
synced 2025-06-29 01:48:28 +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
@ -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 New Issue
Block a user