diff --git a/src/components/card/CardSidebar.vue b/src/components/card/CardSidebar.vue
index 0dcaec879..0f0a65900 100644
--- a/src/components/card/CardSidebar.vue
+++ b/src/components/card/CardSidebar.vue
@@ -152,10 +152,12 @@
@click="clickedPreview"
v-html="renderedDescription" />
+ @input="updateDescription"
+ @blur="saveDescription" />
{
- if (!Object.prototype.hasOwnProperty.call(this.copiedCard, 'descriptionLastEdit') || this.descriptionSaving) {
- return
- }
- this.descriptionSaving = true
- await this.$store.dispatch('updateCardDesc', this.copiedCard)
- delete this.copiedCard.descriptionLastEdit
- this.descriptionSaving = false
+ await this.saveDescription()
}, 2500)
-
},
closeSidebar() {