mirror of
https://github.com/9001/copyparty.git
synced 2025-08-18 09:22:31 -06:00
ux: breadcrumb ctrl-click
This commit is contained in:
parent
802efeaff2
commit
a99120116f
|
@ -6013,6 +6013,9 @@ function wintitle(txt) {
|
||||||
|
|
||||||
|
|
||||||
ebi('path').onclick = function (e) {
|
ebi('path').onclick = function (e) {
|
||||||
|
if (ctrl(e))
|
||||||
|
return true;
|
||||||
|
|
||||||
var a = e.target.closest('a[href]');
|
var a = e.target.closest('a[href]');
|
||||||
if (!a || !(a = a.getAttribute('href') + '') || !a.endsWith('/'))
|
if (!a || !(a = a.getAttribute('href') + '') || !a.endsWith('/'))
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue