From 47aeef50be3849aa5664f5bdd7bc774185801de4 Mon Sep 17 00:00:00 2001 From: Apratim Shukla Date: Fri, 13 Oct 2023 06:57:53 -0700 Subject: [PATCH] Update script.js --- script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script.js b/script.js index 4d6de86..901b4f6 100644 --- a/script.js +++ b/script.js @@ -6,7 +6,7 @@ const sdk = new ResilientSDK(); sdk.addMessageListener((event) => { const message = event.data.data; var alertDiv = document.getElementById("result"); - alertDiv.className = `alert alert-${type}`; // Set the alert type + alertDiv.className = `alert alert-success`; // Set the alert type alertDiv.innerHTML = JSON.stringify(message); // Set the message alertDiv.style.display = 'block'; // Show the alert });