From b8bd8a8d76612b7f882baca7098f96d2342e9bed Mon Sep 17 00:00:00 2001 From: CN-JS-HuiBai Date: Sat, 4 Apr 2026 13:38:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=94=A8=E6=88=B7=E5=90=8D?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E6=96=B9=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/index.html | 3 +-- public/js/main.js | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/public/index.html b/public/index.html index f0e108e..2e33adc 100644 --- a/public/index.html +++ b/public/index.html @@ -51,7 +51,6 @@
-
@@ -60,7 +59,7 @@
-

Available Videos

+

Available Videos

diff --git a/public/js/main.js b/public/js/main.js index 67fc661..ae88532 100644 --- a/public/js/main.js +++ b/public/js/main.js @@ -21,7 +21,7 @@ document.addEventListener('DOMContentLoaded', () => { const transcodeBtn = document.getElementById('transcode-btn'); const stopTranscodeBtn = document.getElementById('stop-transcode-btn'); const themeSelector = document.getElementById('theme-selector'); - const currentUsername = document.getElementById('current-username'); + const videoListHeader = document.getElementById('video-list-header'); const logoutBtn = document.getElementById('logout-btn'); const topBannerTitle = document.getElementById('top-banner-title'); const playBtn = document.getElementById('play-btn'); @@ -587,7 +587,7 @@ document.addEventListener('DOMContentLoaded', () => { localStorage.setItem('sessionId', sessionId); if (username) { localStorage.setItem('username', username); - if (currentUsername) currentUsername.textContent = username; + if (videoListHeader) videoListHeader.textContent = `${username} Available Videos`; } };