Vanessa 2022-07-18 23:09:58 +08:00
parent 8e5728264c
commit 085e91d28e

View file

@ -36,6 +36,8 @@ export class Dialog {
this.destroy();
}
event.stopPropagation();
// https://ld246.com/article/1657969292700/comment/1658147006669#comments
window.siyuan.menus.menu.remove();
});
if (!this.disableClose) {
this.element.querySelector(".b3-dialog__close").addEventListener(getEventName(), (event) => {