fix apps
This commit is contained in:
@ -3,8 +3,8 @@ let elements = [];
|
||||
let isDev = [];
|
||||
let pageData;
|
||||
async function loadGames() {
|
||||
if(type == "g") pageData = {path: "/resources/games.json", prefix: "semag"}
|
||||
else if(type == "a") pageData = {path: "/resources/apps.json", prefix: "sppa"}
|
||||
if(type == "g") pageData = {path: "/resources/games.json", prefix: "semag", type: "g"}
|
||||
else if(type == "a") pageData = {path: "/resources/apps.json", prefix: "sppa", type: "a"}
|
||||
else sAlert("this is not valid");
|
||||
// taken from mdn
|
||||
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort
|
||||
|
||||
Reference in New Issue
Block a user