diff --git a/html_resources/selector.js b/html_resources/selector.js index c67350a..3060c8c 100644 --- a/html_resources/selector.js +++ b/html_resources/selector.js @@ -98,12 +98,14 @@ function createCategories(){ const createNode = function(name,type){ let node = document.createElement("div"); node.classList.add(type); - node.textContent = name.substring(0,name.lastIndexOf(".")); if(type === "target"){ + node.textContent = name.substring(0,name.lastIndexOf(".")); let link = node.appendChild(document.createElement("a")); node.classList.add("hidden"); link.href = `https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/${name}`; link.title = "See on Github"; + }else{ + node.textContent = name; } return node;