Skip to content

Commit 2c96ae7

Browse files
authored
remove JQuery dependency from u2f-api
1 parent 95c97a2 commit 2c96ae7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

u2f-gae-demo/war/js/u2f-api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ u2f.isAndroidChrome_ = function() {
230230
* @private
231231
*/
232232
u2f.isIosChrome_ = function() {
233-
return $.inArray(navigator.platform, ["iPhone", "iPad", "iPod"]) > -1;
233+
return ["iPhone", "iPad", "iPod"].indexOf(navigator.platform) > -1;
234234
};
235235

236236
/**

0 commit comments

Comments
 (0)