mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-11 01:44:34 +08:00
Remove blur event function as it is redundant
This commit is contained in:
parent
022c2ee9de
commit
5902ee28e1
1 changed files with 1 additions and 9 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue