From 1bc54f06cf5e61511fadbea5655d3550fba5c9e4 Mon Sep 17 00:00:00 2001 From: SillyLossy Date: Sat, 18 Mar 2023 15:41:41 +0200 Subject: [PATCH] Remove animation of message deletion --- public/script.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/public/script.js b/public/script.js index 921c8fc81..760fd34d5 100644 --- a/public/script.js +++ b/public/script.js @@ -977,9 +977,7 @@ async function Generate(type, automatic_trigger) {//encode("dsfs").length //$('#chat').children().last().css({'transition':'all 0.5s ease-in-out'}); //$('#chat').children().last().css({'transform':'translateX(100vh) scale(0.1,0.1)'}); //$('#chat').children().last().css({'opacity':'0'}); - $('#chat').children().last().fadeOut(300, function() { - $(this).remove(); - }); + $('#chat').children().last().remove(); } }