From 1528a382ccb7b411910828f2879cb877e39583a6 Mon Sep 17 00:00:00 2001 From: Maroxy Date: Mon, 29 Nov 2021 05:14:07 +0100 Subject: [PATCH] Fix Social's to also show everything else --- public/html/index.html | 4 +++- src/ts/lib/LauncherUI.ts | 8 ++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/public/html/index.html b/public/html/index.html index a310645..fd4c540 100644 --- a/public/html/index.html +++ b/public/html/index.html @@ -31,7 +31,9 @@ -
+
+ +
diff --git a/src/ts/lib/LauncherUI.ts b/src/ts/lib/LauncherUI.ts index 2b46d7a..9724d25 100644 --- a/src/ts/lib/LauncherUI.ts +++ b/src/ts/lib/LauncherUI.ts @@ -302,8 +302,8 @@ export default class LauncherUI public static updateSocial (): void { const socialUri = `https://${constants.placeholders.lowercase.first}.${constants.placeholders.lowercase.company}.com/launcher/10/${LauncherLib.getConfig('lang.launcher')}?api_url=https%3A%2F%2Fapi-os-takumi.${constants.placeholders.lowercase.company}.com%2Fhk4e_global&key=gcStgarh&prev=false`; - - fetch(socialUri) + $('#socials').attr('src', socialUri); + /* fetch(socialUri) .then(res => res.text()) .then(body => { $('#__layout').remove(); @@ -313,11 +313,11 @@ export default class LauncherUI // TODO /*$('#launchcontent .home__main .swiper-button-prev').on('click', () => { - });*/ + }); $('#launchcontent .home__main .home-swiper-wrap').remove(); $('#launchcontent .home__main .home-news').remove(); - }); + }); */ } public static updateLang (lang: string|null = null): void