From 948426168ec3959f016d06fd29d9d6b4453b1696 Mon Sep 17 00:00:00 2001 From: Til Schmitter Date: Wed, 17 Jun 2026 13:23:41 +0200 Subject: [PATCH] fix default border radius setting --- copyparty/web/browser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js index d4af1ca7..10b1cb27 100644 --- a/copyparty/web/browser.js +++ b/copyparty/web/browser.js @@ -1529,7 +1529,7 @@ ebi('radius').oninput = function () { var usefallback = isNaN(r) || r < 0 || r === ''; var setV = usefallback ? '' : (r + 'px'); - swrite('radius', !usefallback && r); + swrite('radius', !usefallback ? r : ''); document.documentElement.style.setProperty('--radius', setV); console.log(setV); }