From 612d37101e420ce23d8b20d2142ae46260695dee Mon Sep 17 00:00:00 2001 From: Hayden McAfee Date: Mon, 19 Jan 2026 12:24:32 -0800 Subject: [PATCH] Fix Firefox videos not loading --- assets/js/pageTransitions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/pageTransitions.js b/assets/js/pageTransitions.js index 2f15eb2..fdfea1b 100644 --- a/assets/js/pageTransitions.js +++ b/assets/js/pageTransitions.js @@ -23,7 +23,7 @@ function loadPage(url, shouldPushState = false, scrollPosition = 0) // Wait for transition to finish if we're too early var completeUpdate = () => { // Only replace body and update title (don't re-run scripts or CSS) - document.body.replaceWith(newDoc.body); + document.body.innerHTML = newDoc.body.innerHTML; hookLinks(); window.scroll(0, scrollPosition);