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:
Penar Musaraj 2021-11-02 09:26:31 -04:00 committed by GitHub
parent 703d7c4dd6
commit 23bd6582f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 5 deletions

View File

@ -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") {