[docs] Fix switch cases of website

Don't forget about your break's in your switch cases kids! 😉
This commit is contained in:
Crementif 2021-04-30 14:50:28 +02:00 committed by GitHub
parent 253f4fbf23
commit cec7baadba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,12 +60,14 @@ async function searchSupportedGames(searchString) {
document.getElementsByClassName("navbar-brand")[0].innerText="CEMU Hacks"; document.getElementsByClassName("navbar-brand")[0].innerText="CEMU Hacks";
document.getElementsByClassName("display-4")[0].innerText="CEMU Hacks"; document.getElementsByClassName("display-4")[0].innerText="CEMU Hacks";
document.getElementsByClassName("lead")[0].innerText = "Get your online CEMU hax here!!"; document.getElementsByClassName("lead")[0].innerText = "Get your online CEMU hax here!!";
break;
} }
case "ign": { case "ign": {
// IGN based for calling it community built presets & plugins instead of hacks // IGN based for calling it community built presets & plugins instead of hacks
document.title = "Home - Cemu Plugins"; document.title = "Home - Cemu Plugins";
document.getElementsByClassName("navbar-brand")[0].innerText="Cemu Plugins"; document.getElementsByClassName("navbar-brand")[0].innerText="Cemu Plugins";
document.getElementsByClassName("display-4")[0].innerText="Cemu Plugins"; document.getElementsByClassName("display-4")[0].innerText="Cemu Plugins";
break;
} }
} }
if (searchString != "*") resultsHintSearch = supportedGamesSearchSet.get(searchString); if (searchString != "*") resultsHintSearch = supportedGamesSearchSet.get(searchString);