Skip to content

Commit

Permalink
Merge pull request #3712 from HappyMushroom-TechTeam/bugfix/summernot…
Browse files Browse the repository at this point in the history
…ePopover

popover needs to be destroyed anytime the details panel is closed.
  • Loading branch information
xet7 committed Apr 13, 2021
2 parents 02a8775 + f2d5698 commit eaf07ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions client/components/activities/comments.js
Expand Up @@ -3,6 +3,7 @@ const commentFormIsOpen = new ReactiveVar(false);
BlazeComponent.extendComponent({
onDestroyed() {
commentFormIsOpen.set(false);
$(".note-popover").hide();
},

commentFormIsOpen() {
Expand Down
1 change: 1 addition & 0 deletions client/components/cards/cardDescription.js
Expand Up @@ -3,6 +3,7 @@ const descriptionFormIsOpen = new ReactiveVar(false);
BlazeComponent.extendComponent({
onDestroyed() {
descriptionFormIsOpen.set(false);
$(".note-popover").hide();
},

descriptionFormIsOpen() {
Expand Down

0 comments on commit eaf07ce

Please sign in to comment.