From 39c7ef305fcff070371784ce6b8775e570171786 Mon Sep 17 00:00:00 2001
From: ed
Date: Tue, 13 Jul 2021 00:33:46 +0200
Subject: [PATCH] add a link to clear settings on the js crash page
---
copyparty/web/util.js | 1 +
1 file changed, 1 insertion(+)
diff --git a/copyparty/web/util.js b/copyparty/web/util.js
index 2b0e63a3..1282cd6e 100644
--- a/copyparty/web/util.js
+++ b/copyparty/web/util.js
@@ -37,6 +37,7 @@ function vis_exh(msg, url, lineNo, columnNo, error) {
html.push('' + find[a] + '
' +
esc(String(error[find[a]])).replace(/\n/g, '
\n'));
}
+ html.push('
if you are stuck here, try to reset copyparty settings
'); document.body.innerHTML = html.join('\n'); var s = mknod('style');