From bdf4f28c17b54fde481d8cfe7d2b4f504fed4733 Mon Sep 17 00:00:00 2001 From: Igor Zhukov Date: Wed, 12 Nov 2014 15:34:56 +0300 Subject: [PATCH] Disabled webcrypto for msie --- app/js/lib/ng_utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/js/lib/ng_utils.js b/app/js/lib/ng_utils.js index 0993366d..710d9158 100644 --- a/app/js/lib/ng_utils.js +++ b/app/js/lib/ng_utils.js @@ -488,7 +488,7 @@ angular.module('izhukov.utils', []) naClEmbed = false, taskID = 0, awaiting = {}, - webCrypto = window.crypto && (window.crypto.subtle || window.crypto.webkitSubtle) || window.msCrypto && window.msCrypto.subtle, + webCrypto = window.crypto && (window.crypto.subtle || window.crypto.webkitSubtle)/* || window.msCrypto && window.msCrypto.subtle*/, useSha1Crypto = webCrypto && webCrypto.digest !== undefined, finalizeTask = function (taskID, result) { var deferred = awaiting[taskID];