From 6ea0b04472f33a41119da6709ef0c3a1ec988dae Mon Sep 17 00:00:00 2001 From: SillyLossy Date: Tue, 23 May 2023 11:22:28 +0300 Subject: [PATCH] Return stop streaming button --- public/script.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/script.js b/public/script.js index 6a5c8c61c..5af4e1c91 100644 --- a/public/script.js +++ b/public/script.js @@ -1503,7 +1503,7 @@ class StreamingProcessor { return; } - $(`#chat .mes[mesid="${messageId}"] .mes_stop`).css({ 'display': '' }); + $(`#chat .mes[mesid="${messageId}"] .mes_stop`).css({ 'display': 'block' }); $(`#chat .mes[mesid="${messageId}"] .mes_buttons`).css({ 'display': 'none' }); } @@ -1513,7 +1513,7 @@ class StreamingProcessor { } $(`#chat .mes[mesid="${messageId}"] .mes_stop`).css({ 'display': 'none' }); - $(`#chat .mes[mesid="${messageId}"] .mes_buttons`).css({ 'display': '' }); + $(`#chat .mes[mesid="${messageId}"] .mes_buttons`).css({ 'display': 'block' }); } onStartStreaming(text) {