mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-31 12:00:16 -07:00
Minor refactor on WebUI download page
This commit is contained in:
parent
f121e67aba
commit
65dfec9acf
1 changed files with 2 additions and 3 deletions
|
@ -142,9 +142,8 @@
|
||||||
|
|
||||||
const encodedUrls = new URI().getData('urls');
|
const encodedUrls = new URI().getData('urls');
|
||||||
if (encodedUrls) {
|
if (encodedUrls) {
|
||||||
const urls = [];
|
const urls = encodedUrls.split('|').map(function(url) {
|
||||||
encodedUrls.split('|').each(function(url) {
|
return decodeURIComponent(url);
|
||||||
urls.push(decodeURIComponent(url));
|
|
||||||
});
|
});
|
||||||
|
|
||||||
if (urls.length)
|
if (urls.length)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue