mirror of
https://github.com/helenclx/leilukin-site.git
synced 2025-04-05 17:52:41 +00:00
Do not display top bar if there is no event
This commit is contained in:
parent
dc6308d4ba
commit
151fdbd6d5
@ -46,6 +46,8 @@
|
||||
headerImgEl.classList.add(getBanner(todayEvent));
|
||||
headerTopBarEl.innerHTML = getBlurbHtml(todayEvent);
|
||||
}
|
||||
} else {
|
||||
headerTopBarEl.style.display = 'none';
|
||||
}
|
||||
|
||||
function getTodayEvent() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user