mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
add close stop for cancel button
This commit is contained in:
@ -7920,12 +7920,14 @@ jQuery(async function () {
|
||||
});
|
||||
|
||||
$('#dialogue_popup_cancel').click(function (e) {
|
||||
dialogueCloseStop = false;
|
||||
$('#shadow_popup').transition({
|
||||
opacity: 0,
|
||||
duration: 200,
|
||||
easing: animation_easing,
|
||||
});
|
||||
setTimeout(function () {
|
||||
if (dialogueCloseStop) return;
|
||||
$('#shadow_popup').css('display', 'none');
|
||||
$('#dialogue_popup').removeClass('large_dialogue_popup');
|
||||
}, 200);
|
||||
|
Reference in New Issue
Block a user