diff --git a/zefie_wtvp_minisrv/includes/ServiceVault/wtv-setup/choose-bg-songs.js b/zefie_wtvp_minisrv/includes/ServiceVault/wtv-setup/choose-bg-songs.js index e90dd28b..b5e64dc6 100644 --- a/zefie_wtvp_minisrv/includes/ServiceVault/wtv-setup/choose-bg-songs.js +++ b/zefie_wtvp_minisrv/includes/ServiceVault/wtv-setup/choose-bg-songs.js @@ -85,8 +85,8 @@ ${(categories.length > 14) ? '' : ''} `; Object.keys(categories).forEach(function (k) { - var catID = categories[k].id; - var songsInCat = wtvbgm.getCategorySongList(catID); + const catID = categories[k].id; + const songsInCat = wtvbgm.getCategorySongList(catID); if (songsInCat.length > 0) { if (catsListed == divide) { data += `
@@ -137,6 +137,4 @@ html += ` -`; - -data = html; \ No newline at end of file +`; \ No newline at end of file diff --git a/zefie_wtvp_minisrv/includes/ServiceVault/wtv-setup/set-bg.js b/zefie_wtvp_minisrv/includes/ServiceVault/wtv-setup/set-bg.js index e4d06d13..26aa8389 100644 --- a/zefie_wtvp_minisrv/includes/ServiceVault/wtv-setup/set-bg.js +++ b/zefie_wtvp_minisrv/includes/ServiceVault/wtv-setup/set-bg.js @@ -1,4 +1,4 @@ -var minisrv_service_file = true; +const minisrv_service_file = true; if (request_headers.query.category) { const wtvbgm = new WTVBGMusic(minisrv_config, session_data); @@ -105,7 +105,7 @@ Choose the songs that you'd like to include.