From 6e9fcd9f9a442748059ec502e5a7ceb062d1d82d Mon Sep 17 00:00:00 2001 From: Til Schmitter Date: Wed, 3 Jun 2026 15:19:11 +0200 Subject: [PATCH] prevent error log when resizing --- copyparty/web/browser.css | 1 + copyparty/web/browser.js | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/copyparty/web/browser.css b/copyparty/web/browser.css index 636e1cf8..60a5ecdb 100644 --- a/copyparty/web/browser.css +++ b/copyparty/web/browser.css @@ -2118,6 +2118,7 @@ html { background: #8888; cursor: ew-resize; touch-action: none; + user-select: none; } #reszbar:hover{ opacity: .6; diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js index 902c72ff..28c01f41 100644 --- a/copyparty/web/browser.js +++ b/copyparty/web/browser.js @@ -11252,8 +11252,6 @@ function reload_browser() { } resizing = true; clmod(ebi('tree'), 'resz', true); - if(e.cancelable) - ev(e); return; } if (e.button !== 0 && e.type !== 'touchstart') return;