mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 19:37:55 +08:00
FIX: prevents focus of input on mobile (#6251)
This commit is contained in:
parent
523acfcea4
commit
bfcf8ed61b
|
@ -105,7 +105,11 @@ export default Ember.Mixin.create({
|
|||
$(context.element).focus();
|
||||
}
|
||||
} else {
|
||||
context.$filterInput().focus();
|
||||
if (this.site && this.site.isMobileDevice) {
|
||||
this.expand();
|
||||
} else {
|
||||
context.$filterInput().focus();
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue
Block a user