mirror of
https://github.com/crypto-pro-web/crypto-pro-js.git
synced 2024-11-24 00:55:00 +03:00
Работа примеров в старых браузерах
This commit is contained in:
parent
ccb133bccc
commit
96fc0d159f
@ -10,7 +10,12 @@
|
|||||||
list.forEach(function (cert) {
|
list.forEach(function (cert) {
|
||||||
var $certOption = document.createElement('option');
|
var $certOption = document.createElement('option');
|
||||||
|
|
||||||
$certOption.textContent = cert.label;
|
if (typeof $certOption.textContent !== 'undefined') {
|
||||||
|
$certOption.textContent = cert.label;
|
||||||
|
} else {
|
||||||
|
$certOption.innerText = cert.label;
|
||||||
|
}
|
||||||
|
|
||||||
$certOption.value = cert.thumbprint;
|
$certOption.value = cert.thumbprint;
|
||||||
|
|
||||||
$certs.appendChild($certOption);
|
$certs.appendChild($certOption);
|
||||||
|
Loading…
Reference in New Issue
Block a user