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…
Reference in New Issue