0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

Correctly close PSM

closes #4077
- Swap CSS toggling for new PSM closing method
This commit is contained in:
Fabian Becker 2014-09-19 21:15:56 +00:00
parent a3093b9b42
commit a7f432ac8b

View file

@ -40,8 +40,8 @@ var ApplicationRoute = Ember.Route.extend(SimpleAuth.ApplicationRouteMixin, Shor
this.get('popover').closePopovers();
this.get('notifications').closeAll();
// Close PSM if open
Ember.$('body').removeClass('right-outlet-expanded');
// Close right outlet if open
this.send('closeRightOutlet');
this.send('closeModal');
},