mirror of
https://github.com/9001/copyparty.git
synced 2026-06-18 20:22:27 -06:00
fix rcm and selection boxes on modals and headers
This commit is contained in:
parent
b66155333a
commit
0713df99d6
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue