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