mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 13:09:33 -06:00
DEV: appEvent to close user card (#16253)
This commit is contained in:
parent
5d77f485cb
commit
f0e87aa35f
@ -126,6 +126,8 @@ export default Mixin.create({
|
|||||||
this,
|
this,
|
||||||
"_topicHeaderTrigger"
|
"_topicHeaderTrigger"
|
||||||
);
|
);
|
||||||
|
|
||||||
|
this.appEvents.on("card:close", this, "_close");
|
||||||
},
|
},
|
||||||
|
|
||||||
@bind
|
@bind
|
||||||
@ -334,6 +336,7 @@ export default Mixin.create({
|
|||||||
"_topicHeaderTrigger"
|
"_topicHeaderTrigger"
|
||||||
);
|
);
|
||||||
|
|
||||||
|
this.appEvents.off("card:close", this, "_close");
|
||||||
this._hide();
|
this._hide();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user