(function () {
function hcHideGeneralSectionOnSingleSectionView() {
var url = new URL(window.location.href);
var section = url.searchParams.get('section');
if (!section || section === '0') {
return;
}
var generalSection = document.querySelector('li#section-0');
if (generalSection) {
generalSection.style.setProperty('display', 'none', 'important');
}
}
document.addEventListener('DOMContentLoaded', hcHideGeneralSectionOnSingleSectionView);
window.addEventListener('load', hcHideGeneralSectionOnSingleSectionView);
setTimeout(hcHideGeneralSectionOnSingleSectionView, 500);
setTimeout(hcHideGeneralSectionOnSingleSectionView, 1500);
})();