mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 15:48:43 -05:00
FIX: switch to desktop not working
This commit is contained in:
parent
358e027e31
commit
8322bcf0c3
1 changed files with 3 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue