From 41bc9b1ae18ec32a8a44892191ee3ad083520264 Mon Sep 17 00:00:00 2001 From: Tosin Sonuyi <13176059+weallwegot@users.noreply.github.com> Date: Tue, 4 Aug 2020 09:53:27 -0500 Subject: [PATCH] DEV: make class name more unique to prevent collisions (#10) naming a nav link "Directory" for instance collides with a core css class name --- common/header.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/header.html b/common/header.html index ebd78bb..56b8b5c 100644 --- a/common/header.html +++ b/common/header.html @@ -15,7 +15,7 @@ const deviceClass = `.${seg[3]}`; const linkTarget = seg[4] === "self" ? "" : "_blank"; const keepOnScrollClass = seg[5] === "keep" ? ".keep" : ""; - const linkClass = `.${linkText.trim().toLowerCase().replace(/\s/gi, '-')}`; + const linkClass = `.${linkText.trim().toLowerCase().replace(/\s/gi, '-')}-custom-header-links`; if (!linkTarget) { headerLinks.push(