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));
|
headerImgEl.classList.add(getBanner(todayEvent));
|
||||||
headerTopBarEl.innerHTML = getBlurbHtml(todayEvent);
|
headerTopBarEl.innerHTML = getBlurbHtml(todayEvent);
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
headerTopBarEl.style.display = 'none';
|
||||||
}
|
}
|
||||||
|
|
||||||
function getTodayEvent() {
|
function getTodayEvent() {
|
||||||
|
|
Loading…
Reference in New Issue