From 58ddf30bb61877022f8e2094ad7f1734fd0f1d9e Mon Sep 17 00:00:00 2001 From: scottjehl Date: Wed, 13 Oct 2010 17:55:46 -0400 Subject: [PATCH] add class to html when box-shadow is not supported. --- js/jquery.mobile.support.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/jquery.mobile.support.js b/js/jquery.mobile.support.js index 949cd230..bf1ce4f5 100644 --- a/js/jquery.mobile.support.js +++ b/js/jquery.mobile.support.js @@ -55,3 +55,5 @@ $.extend( $.support, { fakeBody.remove(); +//for ruling out shadows via css +if( !$.support.boxShadow ){ $('html').addClass('ui-mobile-nosupport-boxshadow'); } \ No newline at end of file