diff --git a/bower_components/botp/sha1-hmac.js b/bower_components/botp/sha1-hmac.js index bbc20ed..2f3439b 100644 --- a/bower_components/botp/sha1-hmac.js +++ b/bower_components/botp/sha1-hmac.js @@ -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