1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Merge pull request #2214 from dmitrylyzo/fix-livetv-route

Fix LiveTV group anchors

(cherry picked from commit 5da9d93423)
Signed-off-by: Joshua M. Boniface <joshua@boniface.me>
This commit is contained in:
dkanada 2020-12-12 00:09:39 +09:00 committed by Joshua M. Boniface
parent 88bb7adaba
commit 4aeecfa043

View file

@ -338,7 +338,7 @@ export default function (view, params) {
let initialTabIndex = currentTabIndex;
let lastFullRender = 0;
[].forEach.call(view.querySelectorAll('.sectionTitleTextButton-programs'), function (link) {
const href = link.href;
const href = link.getAttribute('href');
if (href) {
link.href = href + '&serverId=' + ApiClient.serverId();