From e0d2bf73c17d50131684ad22c964f8e76b8ae163 Mon Sep 17 00:00:00 2001 From: Michael Ebert Date: Wed, 23 Nov 2022 19:55:52 -0800 Subject: [PATCH] fixed [location] showing twice --- js/cellGenerator.mjs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/js/cellGenerator.mjs b/js/cellGenerator.mjs index fcacb75..695734d 100644 --- a/js/cellGenerator.mjs +++ b/js/cellGenerator.mjs @@ -120,12 +120,7 @@ function createLinkElement(cell, linkName, format){ linky.innerText = "❔"; } else{ - //capitalize classname - let capitalClassName = ""; - if(format & LINK_FORMAT_SHOW_CLASSNAME){ - capitalClassName = "[" + classname[0].toUpperCase() + classname.substring(1) + "] "; - } - linky.innerText = capitalClassName + linkName; + linky.innerText = linkName; } linky.classList.add("itemHelp"); }