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:
James Inman 2013-08-20 20:27:54 +01:00
parent 0346b5034e
commit 98e2072d64

View File

@ -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');