theme updates

This commit is contained in:
2024-03-23 13:20:55 -04:00
parent 261424a173
commit c3179e074e
8 changed files with 49 additions and 26 deletions

View File

@@ -124,17 +124,6 @@ class NavControl {
if (this.toggleMenuBtn.classList.contains('active')) {
this.navControl.toggleNavMenu();
}
if (!this.isExternalLink(link) && this.isWordPressAdminLink(link)) {
window.location.href = link.href; // Navigate normally
} else if (!this.isExternalLink(link)) {
this.animatePageTransition(() => {
this.loadContent(link.href, 'content-container');
// window.location.href = link.href
});
} else if (this.isExternalLink(link)) {
link.setAttribute('target', '_blank');
window.open(link.href, '_system');
}
});
});
}

File diff suppressed because one or more lines are too long