DEV: Override `clickOutside` following core change (#28)

See discourse/discourse#20950
This commit is contained in:
Penar Musaraj 2023-04-04 10:00:30 -04:00 committed by GitHub
parent a950a7fec2
commit 7dd9002c9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -1,2 +1,3 @@
3.1.0.beta2: a950a7fec2dafc77a54420034d6615400dd3fb7a
2.9.0.beta3: c3a26b198d64050dfc1553bb364a5e1769145101
2.6.0.beta3: 309cf0ee299625a835c99338b7dae7093f058032

View File

@ -40,7 +40,7 @@ export default apiInitializer("0.8", (api) => {
}
},
mouseDownOutside() {
clickOutside() {
const formFactor = this.state.formFactor;
if (formFactor === "menu") {
return this.sendWidgetAction("toggleSearchMenu");