mirror of
https://github.com/an-anime-team/an-anime-game-launcher.git
synced 2024-12-24 10:38:14 +03:00
Fix Social's to also show everything else
This commit is contained in:
parent
4216b26657
commit
1528a382cc
2 changed files with 7 additions and 5 deletions
|
@ -31,7 +31,9 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="launchcontent"></div>
|
<div id="launchcontent">
|
||||||
|
<iframe id="socials" src="" scrolling="no" style="position: absolute; border: 0; top: 0; left: 0;" width="100%" height="100%"></iframe>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div id="settings">
|
<div id="settings">
|
||||||
<img src="../images/gear.png" class="unactive">
|
<img src="../images/gear.png" class="unactive">
|
||||||
|
|
|
@ -302,8 +302,8 @@ export default class LauncherUI
|
||||||
public static updateSocial (): void
|
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`;
|
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`;
|
||||||
|
$('#socials').attr('src', socialUri);
|
||||||
fetch(socialUri)
|
/* fetch(socialUri)
|
||||||
.then(res => res.text())
|
.then(res => res.text())
|
||||||
.then(body => {
|
.then(body => {
|
||||||
$('#__layout').remove();
|
$('#__layout').remove();
|
||||||
|
@ -313,11 +313,11 @@ export default class LauncherUI
|
||||||
// TODO
|
// TODO
|
||||||
/*$('#launchcontent .home__main .swiper-button-prev').on('click', () => {
|
/*$('#launchcontent .home__main .swiper-button-prev').on('click', () => {
|
||||||
|
|
||||||
});*/
|
});
|
||||||
|
|
||||||
$('#launchcontent .home__main .home-swiper-wrap').remove();
|
$('#launchcontent .home__main .home-swiper-wrap').remove();
|
||||||
$('#launchcontent .home__main .home-news').remove();
|
$('#launchcontent .home__main .home-news').remove();
|
||||||
});
|
}); */
|
||||||
}
|
}
|
||||||
|
|
||||||
public static updateLang (lang: string|null = null): void
|
public static updateLang (lang: string|null = null): void
|
||||||
|
|
Loading…
Reference in a new issue