mirror of
https://github.com/discourse/discourse.git
synced 2025-06-06 13:06:56 +08:00
FIX: makes sure keyboard is disabled on mobile
This commit is contained in:
@ -71,7 +71,7 @@ export default Ember.Component.extend(UtilsMixin, PluginApiMixin, DomHelpersMixi
|
||||
this.set("rowComponentOptions", Ember.Object.create());
|
||||
this.set("computedContent", []);
|
||||
|
||||
if ($(window).outerWidth(false) <= 420) {
|
||||
if ((this.site && this.site.isMobileDevice) || $(window).outerWidth(false) <= 420) {
|
||||
this.setProperties({ filterable: false, autoFilterable: false });
|
||||
}
|
||||
},
|
||||
|
Reference in New Issue
Block a user