mirror of
https://github.com/discourse/discourse.git
synced 2025-06-03 19:39:30 +08:00
FIX: various select-kit corrections on mobile
This commit is contained in:
@ -92,17 +92,6 @@ export default Ember.Component.extend(
|
||||
this.set("computedContent", []);
|
||||
this.set("highlightedSelection", []);
|
||||
|
||||
if (this.site && this.site.isMobileDevice) {
|
||||
this.setProperties({
|
||||
filterable: isNone(this.get("filterable"))
|
||||
? false
|
||||
: this.get("filterable"),
|
||||
autoFilterable: isNone(this.get("autoFilterable"))
|
||||
? false
|
||||
: this.get("filterable")
|
||||
});
|
||||
}
|
||||
|
||||
if (this.get("nameChanges")) {
|
||||
this.addObserver(
|
||||
`content.@each.${this.get("nameProperty")}`,
|
||||
|
Reference in New Issue
Block a user