mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Add RenderGlimmer support for embedded posts (#21046)
This commit is contained in:
@@ -54,4 +54,12 @@ export default createWidget("embedded-post", {
|
||||
]),
|
||||
];
|
||||
},
|
||||
|
||||
init() {
|
||||
this.postContentsDestroyCallbacks = [];
|
||||
},
|
||||
|
||||
destroy() {
|
||||
this.postContentsDestroyCallbacks.forEach((c) => c());
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user