mirror of
https://github.com/crypto-pro-web/crypto-pro-js.git
synced 2024-11-23 16:44:59 +03:00
окончательно вернул к оригиналу cadesplugin_api.js
This commit is contained in:
parent
7cfc675a4b
commit
e9312b09cd
8
dist/crypto-pro.js
vendored
8
dist/crypto-pro.js
vendored
@ -765,6 +765,14 @@ var CryptoPro =
|
||||
//Проверяем работает ли плагин
|
||||
function check_plugin_working()
|
||||
{
|
||||
var div = document.createElement("div");
|
||||
div.innerHTML = "<!--[if lt IE 9]><iecheck></iecheck><![endif]-->";
|
||||
var isIeLessThan9 = (div.getElementsByTagName("iecheck").length == 1);
|
||||
if (isIeLessThan9) {
|
||||
plugin_loaded_error("Internet Explorer версии 8 и ниже не поддерживается");
|
||||
return;
|
||||
}
|
||||
|
||||
if(isNativeMessageSupported())
|
||||
{
|
||||
load_extension();
|
||||
|
2
dist/crypto-pro.js.map
vendored
2
dist/crypto-pro.js.map
vendored
File diff suppressed because one or more lines are too long
@ -553,6 +553,14 @@
|
||||
//Проверяем работает ли плагин
|
||||
function check_plugin_working()
|
||||
{
|
||||
var div = document.createElement("div");
|
||||
div.innerHTML = "<!--[if lt IE 9]><iecheck></iecheck><![endif]-->";
|
||||
var isIeLessThan9 = (div.getElementsByTagName("iecheck").length == 1);
|
||||
if (isIeLessThan9) {
|
||||
plugin_loaded_error("Internet Explorer версии 8 и ниже не поддерживается");
|
||||
return;
|
||||
}
|
||||
|
||||
if(isNativeMessageSupported())
|
||||
{
|
||||
load_extension();
|
||||
|
Loading…
Reference in New Issue
Block a user