mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-11 07:18:08 +00:00
Minor refactor on WebUI download page
This commit is contained in:
parent
f121e67aba
commit
65dfec9acf
@ -142,9 +142,8 @@
|
||||
|
||||
const encodedUrls = new URI().getData('urls');
|
||||
if (encodedUrls) {
|
||||
const urls = [];
|
||||
encodedUrls.split('|').each(function(url) {
|
||||
urls.push(decodeURIComponent(url));
|
||||
const urls = encodedUrls.split('|').map(function(url) {
|
||||
return decodeURIComponent(url);
|
||||
});
|
||||
|
||||
if (urls.length)
|
||||
|
Loading…
Reference in New Issue
Block a user