mirror of
https://github.com/discourse/discourse.git
synced 2025-03-09 14:34:35 +00:00
Add RenderGlimmer support for embedded posts (#21046)
This commit is contained in:
parent
9238767f7e
commit
352bd35bf6
@ -54,4 +54,12 @@ export default createWidget("embedded-post", {
|
|||||||
]),
|
]),
|
||||||
];
|
];
|
||||||
},
|
},
|
||||||
|
|
||||||
|
init() {
|
||||||
|
this.postContentsDestroyCallbacks = [];
|
||||||
|
},
|
||||||
|
|
||||||
|
destroy() {
|
||||||
|
this.postContentsDestroyCallbacks.forEach((c) => c());
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user