Работа примеров в старых браузерах

This commit is contained in:
Vitalii Goma 2017-04-20 12:08:37 +03:00
parent ccb133bccc
commit 96fc0d159f

View File

@ -10,7 +10,12 @@
list.forEach(function (cert) {
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;
$certs.appendChild($certOption);