mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-26 04:13:30 +03:00
Adding fade transitions between settings tabs.
Closes #371 - Added a hide and fadeIn() to the render method in Settings.Pane - Any Settings.Pane which overwrites render should now make sure the parent is called - Run through grunt validate, all OK.
This commit is contained in:
parent
72c38ece95
commit
b4a0b1498f
@ -86,7 +86,11 @@
|
||||
this.$el.removeClass('active');
|
||||
this.undelegateEvents();
|
||||
},
|
||||
|
||||
render: function () {
|
||||
this.$el.hide();
|
||||
Ghost.View.prototype.render.call(this);
|
||||
this.$el.fadeIn(300);
|
||||
},
|
||||
afterRender: function () {
|
||||
this.$el.attr('id', this.id);
|
||||
this.$el.addClass('active');
|
||||
|
Loading…
Reference in New Issue
Block a user