From 360ed5c46c3a72c8b591b1c0ec3c7529844a8c3c Mon Sep 17 00:00:00 2001 From: ed Date: Thu, 26 Aug 2021 22:48:57 +0200 Subject: [PATCH] release the up2k flag when disabling it --- copyparty/web/up2k.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/copyparty/web/up2k.js b/copyparty/web/up2k.js index 798fd91b..dfe4fdb1 100644 --- a/copyparty/web/up2k.js +++ b/copyparty/web/up2k.js @@ -1851,6 +1851,9 @@ function up2k_init(subtle) { } } else if (!flag_en && flag) { + if (flag.ours) + flag.give(); + flag.ch.close(); flag = false; }