smooth things out
This commit is contained in:
@@ -192,8 +192,8 @@ class PageTransitions {
|
|||||||
// Trigger removal of transition class after fetching data
|
// Trigger removal of transition class after fetching data
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.removeTransitionClass(contentContainer);
|
this.removeTransitionClass(contentContainer);
|
||||||
|
contentContainer.innerHTML = newContent;
|
||||||
}, 300);
|
}, 300);
|
||||||
contentContainer.innerHTML = newContent;
|
|
||||||
|
|
||||||
// Update the page title
|
// Update the page title
|
||||||
const newTitle = parsedData.querySelector('title');
|
const newTitle = parsedData.querySelector('title');
|
||||||
|
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user