From 4ec365974e1b26a15dabbae5900b23c8f74cbaf0 Mon Sep 17 00:00:00 2001 From: Mycroft Date: Tue, 26 Apr 2022 16:39:17 +0100 Subject: [PATCH] Update script.js --- [esx]/esx_notify/nui/js/script.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/[esx]/esx_notify/nui/js/script.js b/[esx]/esx_notify/nui/js/script.js index 40afbe62..5122b5a1 100644 --- a/[esx]/esx_notify/nui/js/script.js +++ b/[esx]/esx_notify/nui/js/script.js @@ -5,15 +5,12 @@ $(function () { w.addEventListener('message', function(e) { $(".text").text(e.data.message) if (e.data.type === "info") { - console.log("info") doc.getElementById("notifyInfo").style.display = "block"; Timeout() } else if (e.data.type === "error") { - console.log("error") doc.getElementById("notifyError").style.display = "block"; Timeout() } else if (e.data.type === "success") { - console.log("succeeeess") doc.getElementById("notifySuccess").style.display = "block"; Timeout() } @@ -26,4 +23,4 @@ $(function () { }, e.data.length) } }) -}) \ No newline at end of file +})