From 61c58d8cb02183577b30ebf07ab72ff2af60fef3 Mon Sep 17 00:00:00 2001 From: Dmitry Lyzo Date: Mon, 9 Sep 2024 22:01:31 +0300 Subject: [PATCH 1/2] Fix focus indication on tags `emby-button` class is used as a flag for `EmbyButton.createdCallback`. --- src/controllers/itemDetails/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/itemDetails/index.js b/src/controllers/itemDetails/index.js index 86ebf163be..b5cd1848e2 100644 --- a/src/controllers/itemDetails/index.js +++ b/src/controllers/itemDetails/index.js @@ -1318,7 +1318,7 @@ function renderTags(page, item) { serverId: item.ServerId }); tagElements.push( - `` + `` + escapeHtml(tag) + '' ); From edfae1f1b899a3eda8c0340184b722cf00e08f84 Mon Sep 17 00:00:00 2001 From: Dmitry Lyzo Date: Mon, 9 Sep 2024 22:32:50 +0300 Subject: [PATCH 2/2] Fix focus indication on artist and album `emby-button` class is used as a flag for `EmbyButton.createdCallback`. --- src/components/remotecontrol/remotecontrol.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/remotecontrol/remotecontrol.js b/src/components/remotecontrol/remotecontrol.js index 64201aa3aa..fa08355039 100644 --- a/src/components/remotecontrol/remotecontrol.js +++ b/src/components/remotecontrol/remotecontrol.js @@ -146,7 +146,7 @@ function updateNowPlayingInfo(context, state, serverId) { if (item.Artists != null) { if (item.ArtistItems != null) { for (const artist of item.ArtistItems) { - artistsSeries += `${escapeHtml(artist.Name)}`; + artistsSeries += `${escapeHtml(artist.Name)}`; if (artist !== item.ArtistItems.slice(-1)[0]) { artistsSeries += ', '; } @@ -164,7 +164,7 @@ function updateNowPlayingInfo(context, state, serverId) { } } if (item.Album != null) { - albumName = '` + escapeHtml(item.Album) + ''; + albumName = '` + escapeHtml(item.Album) + ''; } context.querySelector('.nowPlayingAlbum').innerHTML = albumName; context.querySelector('.nowPlayingArtist').innerHTML = artistsSeries; @@ -172,12 +172,12 @@ function updateNowPlayingInfo(context, state, serverId) { } else if (item.Type == 'Episode') { if (item.SeasonName != null) { const seasonName = item.SeasonName; - context.querySelector('.nowPlayingSeason').innerHTML = '${escapeHtml(seasonName)}`; + context.querySelector('.nowPlayingSeason').innerHTML = '${escapeHtml(seasonName)}`; } if (item.SeriesName != null) { const seriesName = item.SeriesName; if (item.SeriesId != null) { - context.querySelector('.nowPlayingSerie').innerHTML = '${escapeHtml(seriesName)}`; + context.querySelector('.nowPlayingSerie').innerHTML = '${escapeHtml(seriesName)}`; } else { context.querySelector('.nowPlayingSerie').innerText = seriesName; }