diff --git a/copyparty/web/util.js b/copyparty/web/util.js index 63448db0..1dd44828 100644 --- a/copyparty/web/util.js +++ b/copyparty/web/util.js @@ -1149,6 +1149,7 @@ function repl_load() { if (!ret.length) ret = [ 'var v=Object.keys(localStorage); v.sort(); JSON.stringify(v)', + "for (var a of QSA('#files a[id]')) a.setAttribute('download','')", 'console.hist.slice(-10).join("\\n")' ];