Skip to content

Commit

Permalink
Merge pull request Modernizr#1378 from devongovett/patch-1
Browse files Browse the repository at this point in the history
False-positive for csstransforms test
  • Loading branch information
ryanseddon committed Jun 22, 2014
2 parents b694dfe + f99da47 commit 996ca33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion feature-detects/css/transforms.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ define(['Modernizr', 'testAllProps'], function( Modernizr, testAllProps ) {
Modernizr.addTest('csstransforms', function() {
// Android < 3.0 is buggy, so we sniff and blacklist
// http://git.io/hHzL7w
return navigator.userAgent.indexOf('Android 2.') !== -1 &&
return navigator.userAgent.indexOf('Android 2.') === -1 &&
testAllProps('transform', 'scale(1)', true);
});
});

0 comments on commit 996ca33

Please sign in to comment.