From 253f4fbf23dfb8f1ef81e23356e085276b698d08 Mon Sep 17 00:00:00 2001 From: M&M Date: Sat, 24 Apr 2021 23:30:14 -0700 Subject: [PATCH] [Website] possibly fix switch case issue --- docs/assets/javascript/index.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/assets/javascript/index.js b/docs/assets/javascript/index.js index 7b68d941..777a58c1 100644 --- a/docs/assets/javascript/index.js +++ b/docs/assets/javascript/index.js @@ -55,16 +55,18 @@ async function searchSupportedGames(searchString) { let resultsHintSearch = []; if (Object.keys(altNames).includes(searchString.toLowerCase())) searchString = altNames[searchString.toLowerCase()]; switch (searchString.toLowerCase()) { - case "digital foundry": + case "digital foundry": { document.title = "Home - CEMU Hacks"; document.getElementsByClassName("navbar-brand")[0].innerText="CEMU Hacks"; document.getElementsByClassName("display-4")[0].innerText="CEMU Hacks"; document.getElementsByClassName("lead")[0].innerText = "Get your online CEMU hax here!!"; - case "ign": + } + case "ign": { // IGN based for calling it community built presets & plugins instead of hacks document.title = "Home - Cemu Plugins"; document.getElementsByClassName("navbar-brand")[0].innerText="Cemu Plugins"; document.getElementsByClassName("display-4")[0].innerText="Cemu Plugins"; + } } if (searchString != "*") resultsHintSearch = supportedGamesSearchSet.get(searchString); else {