mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
fixed AN hide.show
This commit is contained in:
@ -5667,8 +5667,8 @@ $(document).ready(function () {
|
|||||||
var id = $(this).attr("id");
|
var id = $(this).attr("id");
|
||||||
|
|
||||||
if (id == "option_toggle_AN") {
|
if (id == "option_toggle_AN") {
|
||||||
if (selected_group || this_chid !== undefined
|
if (selected_group || this_chid) {
|
||||||
&& $("#floatingPrompt").css("display") !== 'flex') {
|
if ($("#floatingPrompt").css("display") !== 'flex') {
|
||||||
$("#floatingPrompt").css("display", "flex");
|
$("#floatingPrompt").css("display", "flex");
|
||||||
$("#floatingPrompt").css("opacity", 0.0);
|
$("#floatingPrompt").css("opacity", 0.0);
|
||||||
$("#floatingPrompt").transition({
|
$("#floatingPrompt").transition({
|
||||||
@ -5697,6 +5697,7 @@ $(document).ready(function () {
|
|||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (id == "option_select_chat") {
|
if (id == "option_select_chat") {
|
||||||
if ((selected_group && !is_group_generating) || (this_chid !== undefined && !is_send_press)) {
|
if ((selected_group && !is_group_generating) || (this_chid !== undefined && !is_send_press)) {
|
||||||
|
Reference in New Issue
Block a user