smooth things out

This commit is contained in:
prospect
2024-01-19 10:10:44 -05:00
parent ca3e82c3d1
commit f44201b81c
2 changed files with 2 additions and 2 deletions

View File

@@ -192,10 +192,10 @@ class PageTransitions {
const newContent = targetElement.innerHTML;
// Update the content container
contentContainer.innerHTML = newContent;
// Trigger removal of transition class after fetching data
setTimeout(() => {
this.removeTransitionClass(contentContainer);
contentContainer.innerHTML = newContent;
}, 300);
// Update the page title

File diff suppressed because one or more lines are too long