mirror of
https://github.com/Fluffy-Bean/Fluffys-website.git
synced 2025-05-14 07:42:15 +00:00
I forgor 💀
This commit is contained in:
parent
d313845196
commit
70ded2c95e
1 changed files with 11 additions and 0 deletions
|
@ -14,4 +14,15 @@
|
||||||
<a href="https://github.com/Fluffy-Bean" class="btn" data-value="Github">Github</a>
|
<a href="https://github.com/Fluffy-Bean" class="btn" data-value="Github">Github</a>
|
||||||
<button class="btn" data-value="Discord" id="discord">Discord</button>
|
<button class="btn" data-value="Discord" id="discord">Discord</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
document.getElementById("discord").onclick = function() {
|
||||||
|
try {
|
||||||
|
navigator.clipboard.writeText("Fluffy Bean#5212");
|
||||||
|
addToast("Copied to clipboard");
|
||||||
|
} catch (err) {
|
||||||
|
addToast("Error copying to clipboard, are you on HTTP?");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
{% endblock %}
|
{% endblock %}
|
Loading…
Add table
Reference in a new issue