mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-17 14:08:03 -06:00
WebUI: enforce usage of const whenever possible
This commit is contained in:
@@ -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