From 211f285dd927903275f4f74f6a62e310a804986a Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Sat, 23 May 2020 17:58:14 +0200 Subject: [PATCH] Lelz I broke everything again --- apps.md | 2 +- apps_fr.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps.md b/apps.md index 3ae92f68..dac06cb7 100644 --- a/apps.md +++ b/apps.md @@ -363,7 +363,7 @@ $(document).ready(function () { $('.app-card_'+ app_id + ' .app-title').append(' '+app_badge+''); } if (typeof(infos.category) === "string") { - category = temp1.find(function(el) { return el.id == infos.category; }); + category = data["categories"].find(function(el) { return el.id == infos.category; }); if (typeof(category) !== "undefined") { display = category["title"][default_lang] || category["title"]["en"]; diff --git a/apps_fr.md b/apps_fr.md index cb71edeb..6543d30a 100644 --- a/apps_fr.md +++ b/apps_fr.md @@ -362,7 +362,7 @@ $(document).ready(function () { $('.app-card_'+ app_id + ' .app-title').append(' '+app_badge+''); } if (typeof(infos.category) === "string") { - category = temp1.find(function(el) { return el.id == infos.category; }); + category = data["categories"].find(function(el) { return el.id == infos.category; }); if (typeof(category) !== "undefined") { display = category["title"][default_lang] || category["title"]["en"];