fix: emit console warning if headerEl not found during updatePanelOffset

main
Julian Lam 3 years ago
parent c19300b2de
commit 636f853e64

@ -16,6 +16,7 @@ $(document).ready(function () {
const headerEl = document.getElementById('header-menu');
if (!headerEl) {
console.warn('[persona/updatePanelOffset] Could not find #header-menu, panel offset unchanged.');
return;
}

Loading…
Cancel
Save