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:
commit
92bb75dfdf
1 changed files with 1 additions and 0 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue