0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -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('popover').closePopovers();
this.get('notifications').closeAll(); this.get('notifications').closeAll();
// Close PSM if open // Close right outlet if open
Ember.$('body').removeClass('right-outlet-expanded'); this.send('closeRightOutlet');
this.send('closeModal'); this.send('closeModal');
}, },