From 9b5dca0c121044bd0386f315c10a441f6575a99d Mon Sep 17 00:00:00 2001 From: Matt Bongiovi Date: Tue, 29 May 2018 16:41:57 -0700 Subject: [PATCH] Fix ID banner (#36) --- centeredUi/paginatedOnload.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/centeredUi/paginatedOnload.js b/centeredUi/paginatedOnload.js index 2b95780..9284e44 100644 --- a/centeredUi/paginatedOnload.js +++ b/centeredUi/paginatedOnload.js @@ -701,7 +701,7 @@ function ShowPasswordPage() if ( idBanner ) { - idBanner.innerHTML = usernameInput.value; + idBanner.innerText = usernameInput.value; } // Create the ID Banner if we need to @@ -711,7 +711,7 @@ function ShowPasswordPage() var idBanner = document.createElement("div"); idBanner.id = "identityBanner"; idBanner.className = "identityBanner"; - idBanner.innerHTML = usernameInput.value; + idBanner.innerText = usernameInput.value; // Add the newly-created element workArea.insertBefore(idBanner, workArea.firstChild);