mirror of
https://github.com/cemu-project/cemu_graphic_packs.git
synced 2025-01-09 11:17:34 -03:00
[Website] possibly fix switch case issue
This commit is contained in:
parent
e1a3058551
commit
253f4fbf23
1 changed files with 4 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue