mirror of
https://github.com/9001/copyparty.git
synced 2026-06-18 20:22:27 -06:00
prevent touch dsel on various elements
This commit is contained in:
parent
befdc06a42
commit
f33dcd307a
|
|
@ -303,7 +303,7 @@ window.baguetteBox = (function () {
|
|||
if (!overlay) {
|
||||
var ctr = mknod('div');
|
||||
ctr.innerHTML = (
|
||||
'<div id="bbox-overlay" role="dialog">' +
|
||||
'<div id="bbox-overlay" class="normalrcm" role="dialog">' +
|
||||
'<div id="bbox-slider"></div>' +
|
||||
'<div id="bbox-prev"><a class="btn" aria-label="Previous">◀</a></div>' +
|
||||
'<div id="bbox-next"><a class="btn" aria-label="Next">▶</a></div>' +
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
</head>
|
||||
|
||||
<body>
|
||||
<a href="#" id="treeToggleBtn" class="tgl btn"></a>
|
||||
<a href="#" id="treeToggleBtn" class="tgl btn normalrcm"></a>
|
||||
|
||||
<div id="tree" class="sbar">
|
||||
<div id="treesuperh">
|
||||
|
|
|
|||
|
|
@ -11178,7 +11178,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,.modal,.normalrcm')) return;
|
||||
if (e.target.closest('#widget,#ops,.opview,.doc,#ggrid>a,.modal,.normalrcm,#tree')) return;
|
||||
}
|
||||
catch(ex){
|
||||
console.log(ex);
|
||||
|
|
|
|||
Loading…
Reference in a new issue