From fc8a4b8ea2f8b6a43fb18abdc5e9ae031a99d406 Mon Sep 17 00:00:00 2001 From: stackxp <170874486+stackxp@users.noreply.github.com> Date: Sat, 7 Feb 2026 22:47:27 +0100 Subject: [PATCH] rcm: disable in textfile-viewer; fixes #1280 (#1281) --- 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 17787ca1..a2c7311b 100644 --- a/copyparty/web/browser.js +++ b/copyparty/web/browser.js @@ -9753,7 +9753,7 @@ var rcm = (function () { } ebi('wrap').oncontextmenu = function(e) { - if (!r.enabled || e.shiftKey || (r.double && menu.style.display)) { + if (!r.enabled || e.shiftKey || (r.double && menu.style.display) || /doc=/.exec(location.search)) { r.hide(true); return true; }