mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 04:31:56 +08:00
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 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 New Issue
Block a user