FIX: Remove `clickOutside` event (#8)
No longer needed since it's removed in core See https://github.com/discourse/discourse/pull/14788
This commit is contained in:
parent
703d7c4dd6
commit
23bd6582f4
|
|
@ -35,11 +35,6 @@ export default apiInitializer("0.8", (api) => {
|
|||
return this._super(attrs, state);
|
||||
}
|
||||
},
|
||||
clickOutside() {
|
||||
if (!this.vnode.hooks["widget-mouse-down-outside"]) {
|
||||
return this.mouseDownOutside();
|
||||
}
|
||||
},
|
||||
mouseDownOutside() {
|
||||
const formFactor = this.state.formFactor;
|
||||
if (formFactor === "menu") {
|
||||
|
|
|
|||
Loading…
Reference in New Issue