From 06fd8a2ce981acdeae4d890f9631172a9479197c Mon Sep 17 00:00:00 2001 From: ogerly Date: Fri, 29 Nov 2019 12:14:54 +0100 Subject: [PATCH] unblur function by contribution --- .../ContributionForm/ContributionForm.vue | 12 +--- webapp/components/PostCard/PostCard.vue | 16 ----- webapp/pages/post/_id/_slug/index.vue | 60 ++++++++++++++++++- 3 files changed, 58 insertions(+), 30 deletions(-) diff --git a/webapp/components/ContributionForm/ContributionForm.vue b/webapp/components/ContributionForm/ContributionForm.vue index 98e515766..c7ed59dd2 100644 --- a/webapp/components/ContributionForm/ContributionForm.vue +++ b/webapp/components/ContributionForm/ContributionForm.vue @@ -159,7 +159,6 @@ export default { let slug = null const form = { ...formDefaults } if (this.contribution && this.contribution.id) { - // console.log("edit jaaa") id = this.contribution.id slug = this.contribution.slug form.title = this.contribution.title @@ -171,9 +170,6 @@ export default { : null form.categoryIds = this.categoryIds(this.contribution.categories) form.checkedBlur = this.contribution.checkedBlur - - // console.log(this.contribution.checkedBlur) - // console.log(this.contribution) } return { @@ -221,11 +217,6 @@ export default { }, methods: { checkedChange() { - // console.log( 'checkedChange') - // console.log( 'this.checkedBlur old', this.checkedBlur) - // console.log( 'THIS', this.$el) - // console.log( 'THIS.form', this.form) - if (this.$el) { this.elem = this.$el.querySelector('img') } else { @@ -243,7 +234,6 @@ export default { this.form.checkedBlur = true this.form.checkbox = true } - // console.log( 'this.checkedBlur new', this.checkedBlur) }, submit() { const { @@ -329,7 +319,7 @@ export default {