Remove blur event function as it is redundant

This commit is contained in:
Ivan Kljun 2023-08-21 11:52:57 +02:00
parent 022c2ee9de
commit 5902ee28e1

View file

@ -9,8 +9,7 @@
aria-labelledby="shareTaskModalLabel"
>
<div class="modal-dialog" role="document">
<div class="modal-content"
@blur="handleTextareaBlur">
<div class="modal-content">
<div class="modal-header flex">
<h4 class="modal-title">
{{ i18n.t("shareable_links.modal.title") }}
@ -189,13 +188,6 @@
this.characterCount = this.$refs.textarea.value.length;
});
},
handleTextareaBlur() {
this.editing = false;
if (!this.dirty) {
this.description = this.shareableData.attributes.description || '';
}
},
handleCheckboxEnter() {
this.sharedEnabled = !this.sharedEnabled;
this.checkboxChange();