提交 3bbef237 编写于 作者: P pi1024e

Final format change

上级 10b924d2
......@@ -82,7 +82,7 @@ export class Dialog extends Disposable {
this.focusToReturn = document.activeElement as HTMLElement;
return new Promise<number>((resolve) => {
if (!this.element || !this.buttonsContainer || !this.iconElement || !this.toolbarContainer) {
if (!(this.element && this.buttonsContainer && this.iconElement && this.toolbarContainer)) {
resolve(0);
return;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册