From 0df1901fc0376ff751a8c0db7d28251f8935ccf6 Mon Sep 17 00:00:00 2001 From: geekalaa Date: Mon, 4 Aug 2025 15:46:03 +0100 Subject: [PATCH] fix: add missing L. prefix for un_clip localization string Fixes ReferenceError when copying links from recently uploaded files. The un_clip localization string was missing the L. prefix in up2k.js. Fixes #467 --- copyparty/web/up2k.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/copyparty/web/up2k.js b/copyparty/web/up2k.js index 2f588446..31ed1d6a 100644 --- a/copyparty/web/up2k.js +++ b/copyparty/web/up2k.js @@ -1595,7 +1595,7 @@ function up2k_init(subtle) { ev(e); var txt = linklist(); cliptxt(txt + '\n', function () { - toast.inf(5, un_clip.format(txt.split('\n').length)); + toast.inf(5, L.un_clip.format(txt.split('\n').length)); }); };