Merge pull request #2350 from Human-Connection/2349-fix-updating-post-image-submit-bug

Fix updating post by adding/changing image bug submits form
This commit is contained in:
mattwr18 2019-11-25 15:37:20 +01:00 committed by GitHub
commit 6a66176e28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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>