Modify website to support new sub-folders architecture

This commit is contained in:
Benjamin_Loison committed 2023-02-13 05:45:08 +01:00
1 parent a51e3b1a9a
commit dfdfbe3272
2 files changed
+10 -2

No files matched your search

+1 -1
View File
@@ -39,7 +39,7 @@ See <?php echoUrl('https://gitea.lemnoslife.com/Benjamin_Loison/YouTube_captions
var channelsDom = document.getElementById('channels');
const channelFileParts = line.split('/');
const channel = channelFileParts[0];
const channelFile = channelFileParts[1];
const channelFile = channelFileParts.slice(1).join('/');
const channelHref = `channels/${channel}`;
if (!channels.includes(channel)) {
channels.push(channel);