innerText -> textContent

This commit is contained in:
Vitalii Goma 2017-04-20 11:44:51 +03:00
parent a98c161dd8
commit ccb133bccc

View File

@ -10,7 +10,7 @@
list.forEach(function (cert) { list.forEach(function (cert) {
var $certOption = document.createElement('option'); var $certOption = document.createElement('option');
$certOption.innerText = cert.label; $certOption.textContent = cert.label;
$certOption.value = cert.thumbprint; $certOption.value = cert.thumbprint;
$certs.appendChild($certOption); $certs.appendChild($certOption);