Do not display top bar if there is no event

This commit is contained in:
Leilukin 2024-04-18 16:00:33 +08:00 committed by Helen Chong
parent 2646bad898
commit f2324a0e1f

View File

@ -46,6 +46,8 @@
headerImgEl.classList.add(getBanner(todayEvent));
headerTopBarEl.innerHTML = getBlurbHtml(todayEvent);
}
} else {
headerTopBarEl.style.display = 'none';
}
function getTodayEvent() {