Permalink
Browse files

lowercasing checks

  • Loading branch information...
1 parent b24c347 commit 684b8fb4918b4e36bafa1672efc8d19d95967826 @ebidel committed Aug 2, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 feature-detects/gamepad.js
View
4 feature-detects/gamepad.js
@@ -2,5 +2,5 @@
// https://dvcs.w3.org/hg/gamepad/raw-file/default/gamepad.html
// By Eric Bidelman
-Modernizr.addTest('gamepads', !!Modernizr.prefixed('Gamepads', navigator) ||
- !!Modernizr.prefixed('GetGamepads', navigator));
+Modernizr.addTest('gamepads', !!Modernizr.prefixed('gamepads', navigator) ||
+ !!Modernizr.prefixed('getGamepads', navigator));

0 comments on commit 684b8fb

Please sign in to comment.