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

Fix LiveTV group anchors
This commit is contained in:
dkanada 2020-12-12 00:09:39 +09:00 committed by GitHub
commit 5da9d93423
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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();