WebUI: enforce usage of const whenever possible

This commit is contained in:
Chocobo1 2024-05-27 22:54:18 +08:00
parent cb90b6769c
commit 55bff4f07a
No known key found for this signature in database
GPG key ID: 210D9C873253A68C
12 changed files with 102 additions and 100 deletions

View file

@ -123,7 +123,7 @@ const initializeWindows = function() {
showDownloadPage = function(urls) {
const id = "downloadPage";
let contentUri = new URI("download.html");
const contentUri = new URI("download.html");
if (urls && (urls.length > 0)) {
contentUri.setData("urls", urls.map(encodeURIComponent).join("|"));