Skip to content

Commit

Permalink
fixed [location] showing twice
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelEbert committed Nov 24, 2022
1 parent d979f36 commit e0d2bf7
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions js/cellGenerator.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
Expand Down

0 comments on commit e0d2bf7

Please sign in to comment.