Browse Source

Minor refactor on WebUI download page

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

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

@ -142,9 +142,8 @@ @@ -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…
Cancel
Save