diff options
Diffstat (limited to 'searcher')
-rw-r--r-- | searcher/index.html | 4 | ||||
-rw-r--r-- | searcher/script.js | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/searcher/index.html b/searcher/index.html index f6ae0a1..e02fabb 100644 --- a/searcher/index.html +++ b/searcher/index.html @@ -6,6 +6,8 @@ <meta name="description" content="A simple utility to help you work out what chips do."> <meta name="author" content="@✨Aleteoryx✨#1027"> <title>CV2 Chip Searcher</title> + <link rel="manifest" href="/pwathings/manifest.json" /> + <link crossorigin href="style.css" rel="stylesheet" type="text/css" /> <link crossorigin href="/lib/chips.css" rel="stylesheet" type="text/css" /> @@ -88,7 +90,7 @@ </div> <hr/> <div id="resultslist"></div> - <p id="grapherlink">Also check out <a href="/grapher">The graphing tool</a>!</p> + <!--<p id="grapherlink">Also check out <a href="/grapher">The graphing tool</a>!</p>--> <p>Maintained by <a href="https://rec.net/user/winrg" target="_blank" rel="noopener noreferrer">@winrg</a>/<code>@✨Aleteoryx, Keeper of Names✨#1027</code></p> <details id="helpbox"> <summary>?</summary> diff --git a/searcher/script.js b/searcher/script.js index d80cd8f..e8ffec3 100644 --- a/searcher/script.js +++ b/searcher/script.js @@ -52,7 +52,7 @@ window.addEventListener("load", async (e) => { const form = document.getElementById("form"); const suggestions = document.getElementById("paletteSearch"); - if (isNested) document.getElementById("grapherlink").remove(); + //if (isNested) document.getElementById("grapherlink").remove(); if (localStorage.length) { form.depr.checked = localStorage.getItem("depr"); @@ -156,7 +156,7 @@ window.addEventListener("load", async (e) => { //console.log(content2.nodes) content = content.map(el => { - if ((form.depr.checked || el.DeprecationStage == 0) && (form.beta.checked || !el.IsBetaChip)) { + if ((form.depr.checked || el.DeprecationStage == "Active") && (form.beta.checked || !el.IsBetaChip)) { const ret = newEl("details", "returnedchip"); if (el.IsBetaChip) ret.classList.add("betaChip"); |