fixed transitions - one comma should have been a ;, and updated data usage in the process.

This commit is contained in:
scottjehl 2010-10-07 17:49:51 -04:00
parent 220673e973
commit ab48e7cce4

View file

@ -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