theme updates
This commit is contained in:
@@ -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
Reference in New Issue
Block a user