disable special behavior of grid clicks when selection active

This commit is contained in:
Til Schmitter 2026-06-08 12:33:47 +02:00
parent c15a9ac67a
commit 36aaeaacbc

View file

@ -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){