Fix remaining colors

This commit is contained in:
Yarmo Mackenbach 2020-07-02 02:44:16 +02:00
parent 7180086ef3
commit 2f37a69ba8

View file

@ -6,6 +6,8 @@ async function verifySignature(opts) {
// Reset feedback // Reset feedback
elRes.innerHTML = ""; elRes.innerHTML = "";
elRes.classList.remove('green');
elRes.classList.remove('red');
elResContent.innerHTML = ""; elResContent.innerHTML = "";
try { try {
@ -105,6 +107,8 @@ async function encryptMessage(opts) {
// Reset feedback // Reset feedback
elRes.innerHTML = ""; elRes.innerHTML = "";
elRes.classList.remove('green');
elRes.classList.remove('red');
try { try {
// Get key data // Get key data
@ -141,6 +145,8 @@ async function verifyProofs(opts) {
// Reset feedback // Reset feedback
elRes.innerHTML = ""; elRes.innerHTML = "";
elRes.classList.remove('green');
elRes.classList.remove('red');
try { try {
// Get key data // Get key data