0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00

Merge pull request #285 from matthojo/Settings-Back-Fix

Fixes back button breaking settings panels
This commit is contained in:
Hannah Wolfe 2013-07-15 14:29:49 -07:00
commit 92bb75dfdf

View file

@ -8,6 +8,7 @@
// ---------- // ----------
Ghost.Views.Settings = Ghost.View.extend({ Ghost.Views.Settings = Ghost.View.extend({
initialize: function (options) { initialize: function (options) {
$(".settings-content").removeClass('active');
this.addSubview(new Settings.Sidebar({ this.addSubview(new Settings.Sidebar({
el: '.settings-sidebar', el: '.settings-sidebar',
pane: options.pane, pane: options.pane,