mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
final polish :)
This commit is contained in:
parent
a6cbbbeaf1
commit
556adf2e37
@ -22,18 +22,14 @@
|
||||
|
||||
<ds-card>
|
||||
<div class="blur-toggle">
|
||||
<label for="blur-img">{{ $t('contribution.shockingPicture') }}</label>
|
||||
<input
|
||||
name="checkbox"
|
||||
class="blurImageCheckbox"
|
||||
type="checkbox"
|
||||
id="blur-img"
|
||||
v-model="blurImage"
|
||||
/>
|
||||
<a href="https://faq.human-connection.org/" target="_blank" class="link">
|
||||
{{ $t('contribution.shockingPicture-text') }}
|
||||
<ds-icon name="question-circle" />
|
||||
</a>
|
||||
<label for="blur-img">{{ $t('contribution.inappropriatePicture') }}</label>
|
||||
<input name="checkbox" type="checkbox" id="blur-img" v-model="blurImage" />
|
||||
<p>
|
||||
<a href="https://faq.human-connection.org/" target="_blank" class="link">
|
||||
{{ $t('contribution.inappropriatePictureText') }}
|
||||
<ds-icon name="question-circle" />
|
||||
</a>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<ds-space />
|
||||
|
||||
@ -103,7 +103,6 @@ export default {
|
||||
if (contributionImage) contributionImage.remove()
|
||||
},
|
||||
initCropper() {
|
||||
// console.log(' new Image initCropper')
|
||||
this.image = new Image()
|
||||
this.image.src = URL.createObjectURL(this.file)
|
||||
this.editor.appendChild(this.image)
|
||||
@ -122,7 +121,6 @@ export default {
|
||||
}, 'image/jpeg')
|
||||
},
|
||||
setupPreview(canvas) {
|
||||
// console.log(' new Image setupPreview')
|
||||
this.image = new Image()
|
||||
this.image.src = canvas.toDataURL()
|
||||
this.image.classList.add('thumbnail-preview')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user