From e984c5464ef614a9d21a1684f8145328d22034e3 Mon Sep 17 00:00:00 2001 From: RemixDev Date: Mon, 13 Apr 2020 19:58:11 +0200 Subject: [PATCH] Removed updateToast --- public/js/init.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/public/js/init.js b/public/js/init.js index 03a43c9..7479e9d 100644 --- a/public/js/init.js +++ b/public/js/init.js @@ -51,10 +51,6 @@ socket.on("toast", (data)=>{ toast(data.msg, data.icon || null, data.dismiss !== undefined ? data.dismiss : true, data.id || null) }) -socket.on("updateToast", (data)=>{ - toast(data.msg, data.icon || null, data.dismiss !== undefined ? data.dismiss : true, data.id || null) -}) - window.addEventListener('pywebviewready', function() { $('#open_login_prompt').prop('disabled', false); })