From c9492d16bafa9fe153262238a282cf3e4ba8b3f5 Mon Sep 17 00:00:00 2001 From: ed Date: Fri, 25 Aug 2023 18:41:45 +0000 Subject: [PATCH] fix textfile navigation hotkeys (broke in 5d13ebb4) --- copyparty/web/browser.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js index afb58f2c..744bded4 100644 --- a/copyparty/web/browser.js +++ b/copyparty/web/browser.js @@ -4623,7 +4623,11 @@ function tree_neigh(n) { if (act >= links.length) act = 0; - treectl.treego.call(links[act]); + if (showfile.active()) + links[act].click(); + else + treectl.treego.call(links[act]); + links[act].focus(); }