mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-14 17:23:07 -07:00
WebUI: enforce usage of const
whenever possible
This commit is contained in:
parent
cb90b6769c
commit
55bff4f07a
12 changed files with 102 additions and 100 deletions
|
@ -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("|"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue