Fix bug by adding event modifiers stop and prevent

This commit is contained in:
mattwr18 2019-11-25 11:10:21 +01:00
parent 6cf60e6ae1
commit 1667669d12

View File

@ -9,7 +9,7 @@
@vdropzone-thumbnail="transformImage"
>
<div class="crop-overlay" ref="cropperOverlay" v-show="showCropper">
<ds-button @click="cropImage" class="crop-confirm" primary>
<ds-button @click.stop.prevent="cropImage" class="crop-confirm" primary>
{{ $t('contribution.teaserImage.cropperConfirm') }}
</ds-button>
<ds-button @click="cancelCrop" class="crop-cancel" icon="close"></ds-button>