Skip to content

Commit

Permalink
TinyMCE/Sketch: Popup does not close
Browse files Browse the repository at this point in the history
  • Loading branch information
toanlamt committed Nov 25, 2024
1 parent 9fc6479 commit 01d0c4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion miniPaint/sketch.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ $(document).ready(function() {
}
}
// Close window.
$(".modal .close", top.document).click();
$(window.parent.document).find('.modal .close, .modal .btn-close').click();
}, 200);
});
}, 200);
Expand Down

0 comments on commit 01d0c4b

Please sign in to comment.