mirror of
https://github.com/xHyroM/roles-bot.git
synced 2024-11-22 00:11:06 +01:00
fix
This commit is contained in:
parent
6742c45c20
commit
0a2480a5ad
2 changed files with 2 additions and 2 deletions
|
@ -37,7 +37,7 @@ $('button[id=addRole]').click((e) => {
|
||||||
}).catch(swal.noop)
|
}).catch(swal.noop)
|
||||||
})
|
})
|
||||||
|
|
||||||
$('pre[id=json].copy').click((e) => {
|
$('pre[id=jsonPre].copy').click((e) => {
|
||||||
navigator.clipboard.writeText(e?.currentTarget?.textContent || e.textContent);
|
navigator.clipboard.writeText(e?.currentTarget?.textContent || e.textContent);
|
||||||
|
|
||||||
Swal.fire({
|
Swal.fire({
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
</form>
|
</form>
|
||||||
<button id='addRole'>Add Role</button>
|
<button id='addRole'>Add Role</button>
|
||||||
|
|
||||||
<pre class='hljs language-json copy' id='json'><code id='json' class="code"></code></pre>
|
<pre class='hljs language-json copy' id='jsonPre'><code id='json' class="code"></code></pre>
|
||||||
Put json from ^ to /setup
|
Put json from ^ to /setup
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
Loading…
Reference in a new issue