FIX: ensures hide is called when card is destroyed (#9814)

FIX: ensures hide is called when card is destroyed (#9814)

diff --git a/app/assets/javascripts/discourse/app/mixins/card-contents-base.js b/app/assets/javascripts/discourse/app/mixins/card-contents-base.js
index 59464e1..54bf99e 100644
--- a/app/assets/javascripts/discourse/app/mixins/card-contents-base.js
+++ b/app/assets/javascripts/discourse/app/mixins/card-contents-base.js
@@ -304,6 +304,8 @@ export default Mixin.create({
       this,
       "_topicHeaderTrigger"
     );
+
+    this._hide();
   },
 
   keyUp(e) {

GitHub sha: e5dc8431

This commit appears in #9814 which was merged by jjaffeux.