Merge pull request #3712 from HappyMushroom-TechTeam/bugfix/summernotePopover

popover needs to be destroyed anytime the details panel is closed.
This commit is contained in:
Lauri Ojansivu 2021-04-14 01:52:55 +03:00 committed by GitHub
commit eaf07cef07
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View file

@ -3,6 +3,7 @@ const commentFormIsOpen = new ReactiveVar(false);
BlazeComponent.extendComponent({
onDestroyed() {
commentFormIsOpen.set(false);
$(".note-popover").hide();
},
commentFormIsOpen() {

View file

@ -3,6 +3,7 @@ const descriptionFormIsOpen = new ReactiveVar(false);
BlazeComponent.extendComponent({
onDestroyed() {
descriptionFormIsOpen.set(false);
$(".note-popover").hide();
},
descriptionFormIsOpen() {