mirror of
https://github.com/9001/copyparty.git
synced 2026-06-21 05:32:25 -06:00
prevent error log when resizing
This commit is contained in:
parent
1d415b73b8
commit
6e9fcd9f9a
|
|
@ -2118,6 +2118,7 @@ html {
|
||||||
background: #8888;
|
background: #8888;
|
||||||
cursor: ew-resize;
|
cursor: ew-resize;
|
||||||
touch-action: none;
|
touch-action: none;
|
||||||
|
user-select: none;
|
||||||
}
|
}
|
||||||
#reszbar:hover{
|
#reszbar:hover{
|
||||||
opacity: .6;
|
opacity: .6;
|
||||||
|
|
|
||||||
|
|
@ -11252,8 +11252,6 @@ function reload_browser() {
|
||||||
}
|
}
|
||||||
resizing = true;
|
resizing = true;
|
||||||
clmod(ebi('tree'), 'resz', true);
|
clmod(ebi('tree'), 'resz', true);
|
||||||
if(e.cancelable)
|
|
||||||
ev(e);
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (e.button !== 0 && e.type !== 'touchstart') return;
|
if (e.button !== 0 && e.type !== 'touchstart') return;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue