Skip to content

Commit

Permalink
update ua tests to reflect touchEnabled change
Browse files Browse the repository at this point in the history
  • Loading branch information
tilomitra committed Oct 11, 2012
1 parent 19d94a2 commit 7deefba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/yui/tests/unit/assets/ua-tests.js
Expand Up @@ -30,7 +30,7 @@ YUI.add('ua-tests', function(Y) {
}
},
'test: ie10 Windows touchEnabled': function() {
if ('msPointerEnabled' in Y.config.win.navigator) {
if (('msMaxTouchPoints' in Y.config.win.navigator) && (Y.config.win.navigator.msMaxTouchPoints)) {
Assert.isTrue(Y.UA.touchEnabled);
} else {
Assert.isFalse(Y.UA.touchEnabled);
Expand Down

0 comments on commit 7deefba

Please sign in to comment.