From bb56e1ea026287a56207c0ea4477883cc8dbcfbd Mon Sep 17 00:00:00 2001 From: scottjehl Date: Fri, 17 Sep 2010 16:56:03 -0400 Subject: [PATCH] var wasnt being set globally. fixed now --- js/jQuery.mobile.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/js/jQuery.mobile.js b/js/jQuery.mobile.js index 7f2b2561..5f051b70 100644 --- a/js/jQuery.mobile.js +++ b/js/jQuery.mobile.js @@ -54,8 +54,9 @@ //send a link through hash tracking $.fn.ajaxClick = function(){ var href = $(this).attr( "href" ), - transitionAttr = $(this).attr('data-transition'), - nextPageRole = $(this).attr('data-rel'); + transitionAttr = $(this).attr('data-transition'); + + nextPageRole = $(this).attr('data-rel'); if(transitionAttr){ currentTransition = transitionAttr;