CopyButton events should have a .prevent clause.

This commit is contained in:
Fabio Manganiello 2023-12-11 22:18:17 +01:00
parent 61ef48119f
commit 00694f4e10
Signed by untrusted user: blacklight
GPG key ID: D90FBA7F76362774

View file

@ -2,8 +2,8 @@
<button class="copy-button"
ref="copyButton"
title="Copy to clipboard"
@click="copy"
@input="copy">
@click.prevent="copy"
@input.prevent="copy">
<i class="fas fa-clipboard" />
</button>
</template>