From af7451d5ffda0599fcaa0b80c75e35f75811a7a0 Mon Sep 17 00:00:00 2001 From: scottjehl Date: Thu, 14 Apr 2011 18:10:22 -0400 Subject: [PATCH] switched to boolean check and removed the second value. Now this is only true in old webos, where it should be. --- js/jquery.mobile.support.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/jquery.mobile.support.js b/js/jquery.mobile.support.js index ef017c67..40b54f97 100644 --- a/js/jquery.mobile.support.js +++ b/js/jquery.mobile.support.js @@ -11,7 +11,7 @@ var fakeBody = $( "" ).prependTo( "html" ), fbCSS = fakeBody[0].style, vendors = ['webkit','moz','o'], - webos = window.palmGetResource || window.PalmServiceBridge, //only used to rule out scrollTop + webos = "palmGetResource" in window, //only used to rule out scrollTop bb = window.blackberry; //only used to rule out box shadow, as it's filled opaque on BB //thx Modernizr