mirror of
https://github.com/9001/copyparty.git
synced 2026-06-18 20:22:27 -06:00
disable special behavior of grid clicks when selection active
This commit is contained in:
parent
c15a9ac67a
commit
36aaeaacbc
|
|
@ -6456,7 +6456,7 @@ window.thegrid = (function () {
|
|||
return r.loadsel();
|
||||
clmod(this, 'sel', clgot(tr, 'sel'));
|
||||
}
|
||||
else if (in_tree && !have_sel)
|
||||
else if (in_tree)
|
||||
in_tree.click();
|
||||
|
||||
else if (oth.hasAttribute('download'))
|
||||
|
|
@ -6465,14 +6465,14 @@ window.thegrid = (function () {
|
|||
else if (aplay && (r.vau || !is_img))
|
||||
aplay.click();
|
||||
|
||||
else if (is_dir && !have_sel)
|
||||
else if (is_dir)
|
||||
treectl.reqls(qhref, true);
|
||||
|
||||
else if (is_txt && !has(['md', 'htm', 'html'], is_txt))
|
||||
atext.click();
|
||||
|
||||
else if (!is_img && have_sel)
|
||||
window.open(qhref, '_blank');
|
||||
// else if (!is_img && have_sel)
|
||||
// window.open(qhref, '_blank');
|
||||
|
||||
else {
|
||||
if (!dbl){
|
||||
|
|
|
|||
Loading…
Reference in a new issue