Don't show right-click menu in file viewer; fixes #1280

This commit is contained in:
stackxp 2026-02-06 20:53:51 +01:00
parent a368fc66b3
commit cab5140608

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