prevent further stream when reset is clicked

This commit is contained in:
binary-husky
2024-06-25 11:43:14 +00:00
parent ddad5247fc
commit 0ad571e6b5
2 changed files with 3 additions and 1 deletions

View File

@@ -114,6 +114,8 @@ js_code_for_persistent_cookie_init = """(web_cookie_cache, cookie) => {
# 详见 themes/common.js
js_code_reset = """
(a,b,c)=>{
let stopButton = document.getElementById("elem_stop");
stopButton.click();
return reset_conversation(a,b);
}
"""