var wasnt being set globally. fixed now

This commit is contained in:
scottjehl 2010-09-17 16:56:03 -04:00
parent d013b660d6
commit bb56e1ea02

View file

@ -54,8 +54,9 @@
//send a link through hash tracking //send a link through hash tracking
$.fn.ajaxClick = function(){ $.fn.ajaxClick = function(){
var href = $(this).attr( "href" ), var href = $(this).attr( "href" ),
transitionAttr = $(this).attr('data-transition'), transitionAttr = $(this).attr('data-transition');
nextPageRole = $(this).attr('data-rel');
nextPageRole = $(this).attr('data-rel');
if(transitionAttr){ if(transitionAttr){
currentTransition = transitionAttr; currentTransition = transitionAttr;