switched to boolean check and removed the second value. Now this is only true in old webos, where it should be.

This commit is contained in:
scottjehl 2011-04-14 18:10:22 -04:00
parent 14b4cc4a7e
commit af7451d5ff

View file

@ -11,7 +11,7 @@
var fakeBody = $( "<body>" ).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