mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 23:17:21 -06:00
WebUI: enforce usage of const whenever possible
This commit is contained in:
committed by
sledgehammer999
parent
4687b4e8e4
commit
1ef21bc2b7
@@ -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("|"));
|
||||
|
||||
Reference in New Issue
Block a user