started theme versioning

This commit is contained in:
prospect
2024-01-19 08:14:04 -05:00
parent 02cb84ce88
commit 005974ceb3
4 changed files with 99 additions and 174 deletions

View File

@@ -141,6 +141,9 @@ class PageTransitions {
this.updateContent(data, elementId);
history.pushState(null, null, targetUrl);
// Trigger removal of transition class after fetching data
setTimeout(() => {
this.removeTransitionClass(contentContainer);
}, 300);
this.removeTransitionClass(contentContainer);
}).catch(error => console.error('Error fetching content:', error));
}