add close stop for cancel button

This commit is contained in:
LenAnderson 2023-12-02 21:45:08 +00:00
parent c10e298777
commit 1eb32b247e
1 changed files with 2 additions and 0 deletions

View File

@ -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);