Skip to content
Browse files

flip is quicker and better for loading pages, fadeIn

  • Loading branch information...
1 parent a9f2cd5 commit 82d797907f647433416a91d028074b44097a2941 @grobmeier committed May 3, 2012
Showing with 7 additions and 1 deletion.
  1. +7 −1 src/roadcrew.js
View
8 src/roadcrew.js
@@ -53,7 +53,13 @@ Roadcrew.prototype.goto = function (event) {
Roadcrew.prototype.flip = function (page) {
this.active.css('display','none');
this.active = $(page);
- this.active.fadeIn();
+ this.active.show();
+};
+
+Roadcrew.prototype.fadeIn = function (page) {
+ this.active.css('display','none');
+ this.active = $(page);
+ this.active.fadeIn();
};
Roadcrew.prototype.back = function(event) {

0 comments on commit 82d7979

Please sign in to comment.
Something went wrong with that request. Please try again.