mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
#976 Add "quick continue" button. Remove "send to continue" option.
This commit is contained in:
@ -315,7 +315,8 @@ function RA_checkOnlineStatus() {
|
||||
if (online_status == "no_connection") {
|
||||
$("#send_textarea").attr("placeholder", "Not connected to API!"); //Input bar placeholder tells users they are not connected
|
||||
$("#send_form").addClass('no-connection'); //entire input form area is red when not connected
|
||||
$("#send_but").css("display", "none"); //send button is hidden when not connected;
|
||||
$("#send_but").addClass("displayNone"); //send button is hidden when not connected;
|
||||
$("#mes_continue").addClass("displayNone"); //continue button is hidden when not connected;
|
||||
$("#API-status-top").removeClass("fa-plug");
|
||||
$("#API-status-top").addClass("fa-plug-circle-exclamation redOverlayGlow");
|
||||
connection_made = false;
|
||||
@ -330,7 +331,8 @@ function RA_checkOnlineStatus() {
|
||||
RA_AC_retries = 1;
|
||||
|
||||
if (!is_send_press && !(selected_group && is_group_generating)) {
|
||||
$("#send_but").css("display", "flex"); //on connect, send button shows
|
||||
$("#send_but").removeClass("displayNone"); //on connect, send button shows
|
||||
$("#mes_continue").removeClass("displayNone"); //continue button is shown when connected
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user