FIX: switch to desktop not working

This commit is contained in:
Sam 2016-02-24 14:21:07 +11:00
parent 358e027e31
commit 8322bcf0c3

View File

@ -1,4 +1,6 @@
import computed from 'ember-addons/ember-computed-decorators';
import mobile from 'discourse/lib/mobile';
export default Ember.Component.extend({
classNames: ['hamburger-panel'],
@ -68,7 +70,7 @@ export default Ember.Component.extend({
this.sendAction('showKeyboardAction');
},
toggleMobileView() {
this.site.toggleMobileView();
mobile.toggleMobileView();
}
}
});