From 90fb871ee88c59208a5141b6c3d5e322dbc54f59 Mon Sep 17 00:00:00 2001 From: scottjehl Date: Sat, 18 Jun 2011 09:19:45 -0400 Subject: [PATCH] referenced the full object to avoid a minifier issue when trying to reference a local variable. Will follow up on this... --- js/jquery.mobile.event.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/jquery.mobile.event.js b/js/jquery.mobile.event.js index 592bc35d..84be57fe 100644 --- a/js/jquery.mobile.event.js +++ b/js/jquery.mobile.event.js @@ -222,7 +222,7 @@ $.event.special.swipe = { // Get the current page orientation. This method is exposed publicly, should it // be needed, as jQuery.event.special.orientationchange.orientation() - special_event.orientation = get_orientation = function() { + $.event.special.orientationchange.orientation = get_orientation = function() { var elem = document.documentElement; return elem && elem.clientWidth / elem.clientHeight < 1.1 ? "portrait" : "landscape"; };