Browse Source

Minor refactor on WebUI download page

adaptive-webui-19844
Thomas Piccirello 5 years ago
parent
commit
65dfec9acf
  1. 5
      src/webui/www/private/download.html

5
src/webui/www/private/download.html

@ -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…
Cancel
Save