rcm: disable in textfile-viewer; fixes #1280 (#1281)

This commit is contained in:
stackxp
2026-02-07 21:47:27 +00:00
committed by GitHub
parent 76041fdba8
commit fc8a4b8ea2
+1 -1
View File
@@ -9753,7 +9753,7 @@ var rcm = (function () {
} }
ebi('wrap').oncontextmenu = function(e) { 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); r.hide(true);
return true; return true;
} }