FIX: switch to desktop not working
This commit is contained in:
parent
358e027e31
commit
8322bcf0c3
|
@ -1,4 +1,6 @@
|
||||||
import computed from 'ember-addons/ember-computed-decorators';
|
import computed from 'ember-addons/ember-computed-decorators';
|
||||||
|
import mobile from 'discourse/lib/mobile';
|
||||||
|
|
||||||
export default Ember.Component.extend({
|
export default Ember.Component.extend({
|
||||||
classNames: ['hamburger-panel'],
|
classNames: ['hamburger-panel'],
|
||||||
|
|
||||||
|
@ -68,7 +70,7 @@ export default Ember.Component.extend({
|
||||||
this.sendAction('showKeyboardAction');
|
this.sendAction('showKeyboardAction');
|
||||||
},
|
},
|
||||||
toggleMobileView() {
|
toggleMobileView() {
|
||||||
this.site.toggleMobileView();
|
mobile.toggleMobileView();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue