mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Focus on popup
This commit is contained in:
@@ -2818,6 +2818,9 @@ function callPopup(text, type) {
|
|||||||
|
|
||||||
$("#dialogue_popup_text").html(text);
|
$("#dialogue_popup_text").html(text);
|
||||||
$("#shadow_popup").css("display", "block");
|
$("#shadow_popup").css("display", "block");
|
||||||
|
if (popup_type == 'input') {
|
||||||
|
$("#dialogue_popup_input").focus();
|
||||||
|
}
|
||||||
$("#shadow_popup").transition({
|
$("#shadow_popup").transition({
|
||||||
opacity: 1.0,
|
opacity: 1.0,
|
||||||
duration: animation_rm_duration,
|
duration: animation_rm_duration,
|
||||||
|
Reference in New Issue
Block a user