`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: blacklight
GPG Key ID: D90FBA7F76362774
1 changed files with 2 additions and 2 deletions

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>