mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-04-23 07:34:43 +00:00
fixed transitions - one comma should have been a ;, and updated data usage in the process.
This commit is contained in:
parent
220673e973
commit
ab48e7cce4
1 changed files with 2 additions and 2 deletions
|
|
@ -87,7 +87,7 @@
|
|||
// send a link through hash tracking
|
||||
jQuery.fn.ajaxClick = function() {
|
||||
var href = jQuery( this ).attr( "href" );
|
||||
pageTransition = jQuery( this ).attr( "data-transition" ) || "slide";
|
||||
pageTransition = jQuery( this ).data( "transition" ) || "slide";
|
||||
nextPageRole = jQuery( this ).attr( "data-rel" );
|
||||
|
||||
//find new base for url building
|
||||
|
|
@ -179,7 +179,7 @@
|
|||
back = !pageTransition && stackLength > 1 &&
|
||||
urlStack[ stackLength - 2 ].url === url,
|
||||
transition = (extras && extras.manuallyTriggered) ? false : pageTransition || "slide",
|
||||
fileUrl = url,
|
||||
fileUrl = url;
|
||||
pageTransition = undefined;
|
||||
|
||||
//reset base to pathname for new request
|
||||
|
|
|
|||
Loading…
Reference in a new issue