forked from platypush/platypush
CopyButton
events should have a .prevent
clause.
This commit is contained in:
parent
61ef48119f
commit
00694f4e10
1 changed files with 2 additions and 2 deletions
|
@ -2,8 +2,8 @@
|
||||||
<button class="copy-button"
|
<button class="copy-button"
|
||||||
ref="copyButton"
|
ref="copyButton"
|
||||||
title="Copy to clipboard"
|
title="Copy to clipboard"
|
||||||
@click="copy"
|
@click.prevent="copy"
|
||||||
@input="copy">
|
@input.prevent="copy">
|
||||||
<i class="fas fa-clipboard" />
|
<i class="fas fa-clipboard" />
|
||||||
</button>
|
</button>
|
||||||
</template>
|
</template>
|
||||||
|
|
Loading…
Reference in a new issue