fixed regression where first page visited was using a transition.

This commit is contained in:
scottjehl 2010-11-06 14:24:29 -04:00
parent f4b785a9e7
commit 3f703ce1e8

View file

@ -246,7 +246,7 @@
isFormRequest = false,
duplicateCachedPage = null,
back = (back !== undefined) ? back : ( urlStack.length > 1 && urlStack[ urlStack.length - 2 ].url === url ),
transition = transition || $.mobile.defaultTransition;
transition = (transition !== undefined) ? transition : $.mobile.defaultTransition;
if( $.type(to) === "object" && to.url ){
url = to.url,