mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-24 02:20:13 +01:00
🎨 remove close btn https://github.com/siyuan-note/siyuan/issues/5290
This commit is contained in:
parent
743b559351
commit
cb44439d66
4 changed files with 4 additions and 9 deletions
|
|
@ -46,9 +46,6 @@ export class Dialog {
|
|||
}
|
||||
|
||||
public destroy() {
|
||||
if (this.disableClose) {
|
||||
return false;
|
||||
}
|
||||
this.element.remove();
|
||||
if (this.destroyCallback) {
|
||||
this.destroyCallback();
|
||||
|
|
@ -59,7 +56,6 @@ export class Dialog {
|
|||
return true;
|
||||
}
|
||||
});
|
||||
return true;
|
||||
}
|
||||
|
||||
public bindInput(inputElement: HTMLInputElement, enterEvent?: () => void) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue