mirror of
https://github.com/9001/copyparty.git
synced 2026-08-16 15:23:08 -06:00
whitespace
This commit is contained in:
parent
dbc6df812b
commit
48d9de03fe
|
|
@ -1792,7 +1792,7 @@ function MPlayer() {
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
tid = tid.slice(1);
|
tid = tid.slice(1);
|
||||||
if (r.tracks[tid])
|
if (r.tracks[tid])
|
||||||
order.push(tid);
|
order.push(tid);
|
||||||
}
|
}
|
||||||
r.order = order;
|
r.order = order;
|
||||||
|
|
@ -10030,19 +10030,19 @@ function reload_browser() {
|
||||||
var selbox = null;
|
var selbox = null;
|
||||||
var ttimer = null;
|
var ttimer = null;
|
||||||
|
|
||||||
var lpdelay = 250;
|
var lpdelay = 250;
|
||||||
var mvthresh = 44;
|
var mvthresh = 44;
|
||||||
|
|
||||||
function unbox() {
|
function unbox() {
|
||||||
qsr('.selbox');
|
qsr('.selbox');
|
||||||
ebi('gfiles').style.removeProperty('pointer-events')
|
ebi('gfiles').style.removeProperty('pointer-events')
|
||||||
ebi('wrap').style.removeProperty('user-select')
|
ebi('wrap').style.removeProperty('user-select')
|
||||||
|
|
||||||
if (selbox) {
|
if (selbox) {
|
||||||
console.log(selbox)
|
console.log(selbox)
|
||||||
window.getSelection().removeAllRanges();
|
window.getSelection().removeAllRanges();
|
||||||
}
|
}
|
||||||
|
|
||||||
is_selma = false;
|
is_selma = false;
|
||||||
dragging = false;
|
dragging = false;
|
||||||
fwrap = null;
|
fwrap = null;
|
||||||
|
|
@ -10085,7 +10085,7 @@ function reload_browser() {
|
||||||
starty = pos.y;
|
starty = pos.y;
|
||||||
is_selma = true;
|
is_selma = true;
|
||||||
ttimer = null;
|
ttimer = null;
|
||||||
|
|
||||||
if (e.type === 'touchstart') {
|
if (e.type === 'touchstart') {
|
||||||
ttimer = setTimeout(function() {
|
ttimer = setTimeout(function() {
|
||||||
ttimer = null;
|
ttimer = null;
|
||||||
|
|
@ -10093,7 +10093,7 @@ function reload_browser() {
|
||||||
}, lpdelay);
|
}, lpdelay);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function start_drag() {
|
function start_drag() {
|
||||||
if (dragging) return;
|
if (dragging) return;
|
||||||
|
|
||||||
|
|
@ -10104,7 +10104,7 @@ function reload_browser() {
|
||||||
|
|
||||||
ebi('gfiles').style.pointerEvents = 'none';
|
ebi('gfiles').style.pointerEvents = 'none';
|
||||||
}
|
}
|
||||||
|
|
||||||
function sel_move(e) {
|
function sel_move(e) {
|
||||||
if (!is_selma) return;
|
if (!is_selma) return;
|
||||||
var pos = getpp(e);
|
var pos = getpp(e);
|
||||||
|
|
@ -10121,7 +10121,7 @@ function reload_browser() {
|
||||||
if (!dragging && dist > mvthresh && !window.getSelection().toString()) {
|
if (!dragging && dist > mvthresh && !window.getSelection().toString()) {
|
||||||
if (e.target instanceof Element)
|
if (e.target instanceof Element)
|
||||||
fwrap = e.target.closest('#wrap');
|
fwrap = e.target.closest('#wrap');
|
||||||
if (fwrap)
|
if (fwrap)
|
||||||
fwrap.style.userSelect = 'none';
|
fwrap.style.userSelect = 'none';
|
||||||
else return;
|
else return;
|
||||||
start_drag();
|
start_drag();
|
||||||
|
|
@ -10170,7 +10170,7 @@ function reload_browser() {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
dsel_init();
|
dsel_init();
|
||||||
})();
|
})();
|
||||||
|
|
||||||
|
|
@ -10213,7 +10213,7 @@ var mpss = (function() {
|
||||||
|
|
||||||
var gain = afilt.ssg.gain;
|
var gain = afilt.ssg.gain;
|
||||||
var duration = ae.duration || 0;
|
var duration = ae.duration || 0;
|
||||||
|
|
||||||
var slimit = duration * (config.sthresh / 100);
|
var slimit = duration * (config.sthresh / 100);
|
||||||
var elimit = duration * (1 - (config.etresh / 100));
|
var elimit = duration * (1 - (config.etresh / 100));
|
||||||
var in_limits = ae.currentTime < slimit || ae.currentTime > elimit;
|
var in_limits = ae.currentTime < slimit || ae.currentTime > elimit;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue