popover needs to be destroyed anytime the details panel is closed.

This commit is contained in:
ryanMushy 2021-04-13 15:34:59 -07:00
parent b0c0e456af
commit f2d5698acb
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() {