#9073 fixed bug when modal close

This commit is contained in:
Daniel Cebrian 2023-02-17 14:22:41 +01:00
parent 864d54ee88
commit ace67ba42d
1 changed files with 7 additions and 0 deletions

View File

@ -271,6 +271,13 @@ function load_tips_modal(settings) {
if (id_modal_target != undefined) {
$(id_modal_target).remove();
}
if ($("#tips_window_modal").length > 0) {
$("#tips_window_modal").remove();
}
if ($("#tips_window_modal_preview").length > 0) {
$("#tips_window_modal_preview").empty();
}
if (settings.cleanup != undefined) {
settings.cleanup();