Skip to content

Commit

Permalink
fix: handleClickOutsideEditor trigger bug
Browse files Browse the repository at this point in the history
  • Loading branch information
sockball committed Nov 3, 2021
1 parent 1115054 commit 045c6c8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/content-scripts/renderer/popup/note-book/note.vue
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,10 @@ export default {
enableEditor.value = true;
};
const handleClickOutsideEditor = () => {
if (!enableEditor.value) {
return;
}
enableEditor.value = false;
// save the note
if (!notSelected.value) {
Expand Down

0 comments on commit 045c6c8

Please sign in to comment.