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:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user