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

Merge pull request #2317 from shashankmehta/settings-rendering-issue

Prevent settings page from rendering same page twice
This commit is contained in:
Hannah Wolfe 2014-03-04 12:06:25 +00:00
commit 13fa84a8bf

View file

@ -61,7 +61,7 @@
Ghost.router.navigate('/settings/' + id + '/');
Ghost.trigger('urlchange');
if (this.pane && id === this.pane.el.id) {
if (this.pane && id === this.pane.id) {
return;
}
_.result(this.pane, 'destroy');