mirror of
https://github.com/discourse/discourse.git
synced 2025-01-18 18:12:46 +08:00
FIX: makes sure keyboard is disabled on mobile
This commit is contained in:
parent
a3b511f4f5
commit
5a992fe5e7
|
@ -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 });
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue
Block a user