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

This commit is contained in:
stackxp 2026-02-07 22:47:27 +01:00 committed by GitHub
parent 76041fdba8
commit fc8a4b8ea2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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;
} }