From a99120116f6dbd4ce3b1838df21758e028dabc36 Mon Sep 17 00:00:00 2001 From: ed Date: Sun, 19 Jun 2022 17:51:03 +0200 Subject: [PATCH] ux: breadcrumb ctrl-click --- copyparty/web/browser.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js index 8022b79b..83d2cd9d 100644 --- a/copyparty/web/browser.js +++ b/copyparty/web/browser.js @@ -6013,6 +6013,9 @@ function wintitle(txt) { ebi('path').onclick = function (e) { + if (ctrl(e)) + return true; + var a = e.target.closest('a[href]'); if (!a || !(a = a.getAttribute('href') + '') || !a.endsWith('/')) return;