2
0
mirror of https://git.coolaj86.com/coolaj86/browser-authenticator.js synced 2025-03-13 20:00:45 +00:00

ignore mobile safari for now

This commit is contained in:
AJ ONeal 2015-10-23 02:25:05 -07:00
parent 07ac4004b8
commit 1d7a1689ec

View File

@ -12,7 +12,7 @@ exports.sha1Hmac = function (key, bytes) {
var Unibabel = window.Unibabel;
if (window.crypto) {
if (window.crypto && window.crypto.subtle) {
return (window.crypto.subtle||window.crypto.webkitSubtle).importKey(
"raw"
, key