mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Trigger appEvent when topic progress component moves (#12030)
This commit is contained in:
parent
544a4e4b48
commit
50c3cc7d75
@ -185,6 +185,10 @@ export default Component.extend({
|
|||||||
"margin-bottom",
|
"margin-bottom",
|
||||||
!isDocked && composerHeight > draftComposerHeight ? "0px" : ""
|
!isDocked && composerHeight > draftComposerHeight ? "0px" : ""
|
||||||
);
|
);
|
||||||
|
this.appEvents.trigger("topic-progress:docked-status-changed", {
|
||||||
|
docked: isDocked,
|
||||||
|
element: this.element,
|
||||||
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
click(e) {
|
click(e) {
|
||||||
|
Loading…
Reference in New Issue
Block a user