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`; } };