Ver Fonte

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

ryanMushy há 4 anos atrás
pai
commit
f2d5698acb

+ 1 - 0
client/components/activities/comments.js

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

+ 1 - 0
client/components/cards/cardDescription.js

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