Cache-bust both original and previously branded navbar logo URLs

Hop-State: A_06FN4JF3RBE9MTQ85C2GNX0
Hop-Proposal: R_06FN4JDDC8C91T769MY7WR8
Hop-Task: T_06FN4JACX74MAJEYJ24HE7G
Hop-Attempt: AT_06FN4JACX50N1VPWMKJ0H1G
This commit is contained in:
Hop
2026-07-11 10:46:41 -07:00
parent 9cccea670b
commit 2f535ffb9d
+1 -1
View File
@@ -142,7 +142,7 @@
function applyHopSemantics() { function applyHopSemantics() {
const brandLogo = document.querySelector('#navbar-logo img'); const brandLogo = document.querySelector('#navbar-logo img');
if (brandLogo) brandLogo.src = brandLogo.src.replace('/img/logo.svg', '/img/hop.svg?v=2'); if (brandLogo) brandLogo.src = brandLogo.src.replace(/\/img\/(?:logo|hop)\.svg(?:\?.*)?$/, '/img/hop.svg?v=2');
for (const root of document.querySelectorAll(semanticRoots)) replaceExactText(root); for (const root of document.querySelectorAll(semanticRoots)) replaceExactText(root);
replaceAccessibleLabels(document); replaceAccessibleLabels(document);
addWorkflowSummary(); addWorkflowSummary();