From f93016ab85a59e5bfef599d7097339b5b845bbb5 Mon Sep 17 00:00:00 2001 From: ed Date: Sun, 16 May 2021 00:30:32 +0200 Subject: [PATCH] dont suggest bup if no write-access --- copyparty/web/browser.js | 2 +- copyparty/web/upload.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js index 9588b48b..6229b727 100644 --- a/copyparty/web/browser.js +++ b/copyparty/web/browser.js @@ -1306,7 +1306,7 @@ function despin(sel) { function apply_perms(perms) { perms = perms || []; - var o = QSA('#ops>a[data-perm]'); + var o = QSA('#ops>a[data-perm], #u2footfoot'); for (var a = 0; a < o.length; a++) { var display = 'inline'; var needed = o[a].getAttribute('data-perm').split(' '); diff --git a/copyparty/web/upload.html b/copyparty/web/upload.html index 53e2a65a..ec22fdb0 100644 --- a/copyparty/web/upload.html +++ b/copyparty/web/upload.html @@ -99,5 +99,5 @@

-

( you can use the basic uploader if you don't need lastmod timestamps, resumable uploads, or progress bars )

+

( you can use the basic uploader if you don't need lastmod timestamps, resumable uploads, or progress bars )