mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-13 22:41:32 -05:00
42166c8d9f
- Refactor to handle deprecations including removal of all Views, ArrayControllers, and ItemControllers.
13 lines
363 B
JavaScript
13 lines
363 B
JavaScript
import Ember from 'ember';
|
|
|
|
export default Ember.Component.extend({
|
|
classNames: ['gh-app'],
|
|
|
|
showSettingsMenu: false,
|
|
|
|
toggleSettingsMenuBodyClass: Ember.observer('showSettingsMenu', function () {
|
|
var showSettingsMenu = this.get('showSettingsMenu');
|
|
|
|
Ember.$('body').toggleClass('settings-menu-expanded', showSettingsMenu);
|
|
})
|
|
});
|