From 96fc0d159f38f77f76082e22a09255988097a3da Mon Sep 17 00:00:00 2001 From: Vitalii Goma Date: Thu, 20 Apr 2017 12:08:37 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A0=D0=B0=D0=B1=D0=BE=D1=82=D0=B0=20=D0=BF?= =?UTF-8?q?=D1=80=D0=B8=D0=BC=D0=B5=D1=80=D0=BE=D0=B2=20=D0=B2=20=D1=81?= =?UTF-8?q?=D1=82=D0=B0=D1=80=D1=8B=D1=85=20=D0=B1=D1=80=D0=B0=D1=83=D0=B7?= =?UTF-8?q?=D0=B5=D1=80=D0=B0=D1=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- example/cert-list.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/example/cert-list.js b/example/cert-list.js index f8ca40f..1e78b0f 100644 --- a/example/cert-list.js +++ b/example/cert-list.js @@ -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);