mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-02-08 16:18:42 +01:00
add close stop for cancel button
This commit is contained in:
parent
c10e298777
commit
1eb32b247e
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user