Fix Guide CSS in TV layout

This commit is contained in:
redphx
2024-12-11 06:12:15 +07:00
parent d8a085d43f
commit 46469e3949
4 changed files with 8 additions and 8 deletions

View File

@@ -97,7 +97,7 @@ export class TrueAchievements {
}
this.updateIds(xboxTitleId);
if (document.documentElement.dataset.xdsPlatform === 'tv') {
if (document.body.dataset.mediaType === 'tv') {
$div.appendChild(this.$link);
} else {
$div.appendChild(this.$button);