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

View File

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