diff --git a/copyparty/web/util.js b/copyparty/web/util.js index 57bef25a..2e8ec506 100644 --- a/copyparty/web/util.js +++ b/copyparty/web/util.js @@ -399,9 +399,9 @@ function uricom_dec(txt) { function uricom_adec(arr) { - ret = []; + var ret = []; for (var a = 0; a < arr.length; a++) - ret[a] = uricom_dec(arr[a])[0]; + ret.push(uricom_dec(arr[a])[0]); return ret; }