1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-11 15:27:54 +00:00

Minor refactor on WebUI download page

This commit is contained in:
Thomas Piccirello 2019-07-20 01:18:11 -07:00
parent f121e67aba
commit 65dfec9acf

View File

@ -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)