From 0a2480a5adfb3240bcf3824a0769e48503f83a80 Mon Sep 17 00:00:00 2001 From: xhyrom Date: Tue, 21 Dec 2021 16:02:14 +0100 Subject: [PATCH] fix --- src/web/app/js/script.js | 2 +- src/web/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/web/app/js/script.js b/src/web/app/js/script.js index 8be098a..dd0d09e 100644 --- a/src/web/app/js/script.js +++ b/src/web/app/js/script.js @@ -37,7 +37,7 @@ $('button[id=addRole]').click((e) => { }).catch(swal.noop) }) -$('pre[id=json].copy').click((e) => { +$('pre[id=jsonPre].copy').click((e) => { navigator.clipboard.writeText(e?.currentTarget?.textContent || e.textContent); Swal.fire({ diff --git a/src/web/index.html b/src/web/index.html index f9f039f..3c8ce69 100644 --- a/src/web/index.html +++ b/src/web/index.html @@ -32,7 +32,7 @@ -
+
Put json from ^ to /setup