mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-30 01:42:29 +03:00
feac9682d0
- Refactor to handle deprecations including removal of all Views, ArrayControllers, and ItemControllers.
14 lines
363 B
JavaScript
14 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);
|
|
})
|
|
});
|