Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Commit

Permalink
Revert "Merge pull request #4462 from Diveboard/master"
Browse files Browse the repository at this point in the history
This reverts commit d89a919.
  • Loading branch information
jaspermdegroot committed Jun 16, 2012
1 parent cb82b06 commit e69cead
Showing 1 changed file with 7 additions and 13 deletions.
20 changes: 7 additions & 13 deletions js/jquery.mobile.transition.js
Expand Up @@ -70,25 +70,19 @@ var createHandler = function( sequential ){

startIn();
},

startIn = function(){

//prevent flickering in phonegap container
$to.css("z-index", -10);

$to.addClass( $.mobile.activePageClass + toPreClass );


startIn = function(){

$to.addClass( $.mobile.activePageClass );

// Send focus to page as it is now display: block
$.mobile.focusPage( $to );

// Set to page height
$to.height( screenHeight + toScroll );

scrollPage();

//restores visibility of the new page
$to.css("z-index", "");


if( !none ){
$to.animationComplete( doneIn );
}
Expand Down Expand Up @@ -157,4 +151,4 @@ $.mobile.transitionFallbacks = {};
})( jQuery, this );
//>>excludeStart("jqmBuildExclude", pragmas.jqmBuildExclude);
});
//>>excludeEnd("jqmBuildExclude");
//>>excludeEnd("jqmBuildExclude");

0 comments on commit e69cead

Please sign in to comment.