smooth things out
This commit is contained in:
@@ -129,10 +129,6 @@ class PageTransitions {
|
|||||||
this.forms.forEach(form => {
|
this.forms.forEach(form => {
|
||||||
form.addEventListener('submit', e => {
|
form.addEventListener('submit', e => {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
if (form.action === window.location.href) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
this.navControl = new _NavControl__WEBPACK_IMPORTED_MODULE_1__["default"]();
|
|
||||||
if (this.navControl.toggleMenuBtn.classList.contains('active')) {
|
if (this.navControl.toggleMenuBtn.classList.contains('active')) {
|
||||||
this.navControl.toggleNavMenu();
|
this.navControl.toggleNavMenu();
|
||||||
}
|
}
|
||||||
|
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user