mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 14:38:04 -06:00
@@ -135,8 +135,11 @@ const initializeWindows = function() {
|
||||
showDownloadPage = function(urls) {
|
||||
const id = 'downloadPage';
|
||||
let contentUrl = 'download.html';
|
||||
if (urls && urls.length)
|
||||
contentUrl += '?urls=' + urls.join("|");
|
||||
if (urls && (urls.length > 0)) {
|
||||
contentUrl += ('?urls=' + urls.map(function(url) {
|
||||
return encodeURIComponent(url);
|
||||
}).join("|"));
|
||||
}
|
||||
|
||||
new MochaUI.Window({
|
||||
id: id,
|
||||
|
||||
Reference in New Issue
Block a user