fix rcm and selection boxes on modals and headers

This commit is contained in:
Til 2026-05-14 15:18:16 +02:00
parent b66155333a
commit 0713df99d6
2 changed files with 5 additions and 4 deletions

View file

@ -42,7 +42,7 @@
<div id="wrap">
<div id="pathBar">
<div id="pathBar" class="normalrcm">
<h2 id="wfp" class="shifted">
<a href="#" id="gop" class="btn"></a>
<a href="#" id="gon" class="btn"></a>

View file

@ -6134,7 +6134,7 @@ window.thegrid = (function () {
gfiles.style.display = 'none';
gfiles.innerHTML = (
'<div id="ghead" class="ghead">' +
'<div id="ghead" class="ghead normalrcm">' +
'<a href="#" id="listicon_template" class="grdbtn gb_lst svgIcon tgl btn" tt="' + L.wt_grid + '"></a>' +
'<a href="#" id="gridicon_template" class="grdbtn gb_grd svgIcon tgl btn on" tt="' + L.wt_grid + '"></a>' +
'<a href="#" id="galleryicon_template" class="grdbtn gb_glr svgIcon tgl btn" tt="' + L.wt_gallery + '"></a>' +
@ -10851,7 +10851,8 @@ var rcm = (function () {
}
ebi('wrap').oncontextmenu = function (e) {
r.show(e);
if (!e.target.closest('.normalrcm'))
r.show(e);
};
menu.onblur = function () { setTimeout(r.hide) };
@ -11084,7 +11085,7 @@ function reload_browser() {
try{
if (e.button !== 0 && e.type !== 'touchstart') return;
if (!thegrid.en || !treectl.dsel) return;
if (e.target.closest('#widget,#ops,.opview,.doc,#ggrid>a')) return;
if (e.target.closest('#widget,#ops,.opview,.doc,#ggrid>a,.modal,.normalrcm')) return;
}
catch(ex){
console.log(ex);