Permalink
Browse files

Quick cleanup/comments in 3d test.

  • Loading branch information...
Wilto committed Jan 8, 2013
1 parent 70b79ed commit f54f675a6bae9d7b603575c043208bb308db92b6
Showing with 2 additions and 2 deletions.
  1. +2 −2 js/jquery.mobile.support.js
@@ -61,6 +61,7 @@ function validStyle( prop, value, check_vend ) {
function transform3dTest() {
var mqProp = "transform-3d",
+ // Because the `translate3d` test below throws false positives in Android:
ret = $.mobile.media( "(-" + vendors.join( "-" + mqProp + "),(-" ) + "-" + mqProp + "),(" + mqProp + ")" );
if( ret ) {
@@ -69,8 +70,7 @@ function transform3dTest() {
var el = document.createElement( "div" ),
transforms = {
- 'OTransform':'-o-transform',
- 'msTransform':'-ms-transform',
+ // We’re omitting Opera for the time being; MS uses unprefixed.
'MozTransform':'-moz-transform',
'transform':'transform'
};

0 comments on commit f54f675

Please sign in to comment.