From 7d797dba3f2c3de009f06a2919664e4bae7330be Mon Sep 17 00:00:00 2001 From: ed Date: Wed, 18 Oct 2023 20:57:53 +0000 Subject: [PATCH] strip filekeys from -txt- links; accessing the syntax hilighter using a filekey is impossible anyways because the client expects to build its state from the folder listing and the backend refuses to return a listing given just a filekey --- copyparty/web/browser.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js index c36c6f39..89a6af7c 100644 --- a/copyparty/web/browser.js +++ b/copyparty/web/browser.js @@ -5956,7 +5956,8 @@ var treectl = (function () { } if (tn.lead == '-') - tn.lead = '-txt-'; var ln = ['' + tn.lead + '