Skip to content

Commit

Permalink
only check for version of Android between 2 and 3
Browse files Browse the repository at this point in the history
  • Loading branch information
hay committed Nov 13, 2012
1 parent 45de935 commit cb40fa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion feature-detects/history.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Modernizr.addTest('history', function() {
var ua = navigator.userAgent;
var properCheck = !!(window.history && history.pushState);

if (ua.indexOf("Android") === -1) {
if (ua.indexOf("Android 2") === -1) {
// No Android, simply return the 'proper' check
return properCheck;
} else {
Expand Down

0 comments on commit cb40fa2

Please sign in to comment.