mirror of
https://github.com/cemu-project/cemu_graphic_packs.git
synced 2024-11-22 01:29:18 +01:00
[docs] Fix switch cases of website
Don't forget about your break's in your switch cases kids! 😉
This commit is contained in:
parent
253f4fbf23
commit
cec7baadba
@ -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);
|
||||||
@ -179,4 +181,4 @@ function hideAllGames() {
|
|||||||
// searchSupportedGames(document.querySelector("#supported-games-search input.form-control").value); // If a user loads the page, execute the search inmediately. Initially meant so that if you'd return to the page and still had a search term, it would look correct.
|
// searchSupportedGames(document.querySelector("#supported-games-search input.form-control").value); // If a user loads the page, execute the search inmediately. Initially meant so that if you'd return to the page and still had a search term, it would look correct.
|
||||||
document.querySelector("#supported-games-search input.form-control").value = ""; // Don't fetch stuff automatically when the user doesn't want to search. Considered better since it's an optional feature.
|
document.querySelector("#supported-games-search input.form-control").value = ""; // Don't fetch stuff automatically when the user doesn't want to search. Considered better since it's an optional feature.
|
||||||
timeago().render(document.querySelectorAll('.commit-time'));
|
timeago().render(document.querySelectorAll('.commit-time'));
|
||||||
document.getElementById("viewAllGames").onclick=viewAllGames;
|
document.getElementById("viewAllGames").onclick=viewAllGames;
|
||||||
|
Loading…
Reference in New Issue
Block a user