Fix msgbox js error
This commit is contained in:
parent
9224c7ab6c
commit
67e886bd45
|
@ -145,8 +145,10 @@ function messageBox({
|
|||
}
|
||||
|
||||
function removeSelf() {
|
||||
messageBox.element.remove();
|
||||
messageBox.element = null;
|
||||
if (messageBox.element) {
|
||||
messageBox.element.remove();
|
||||
messageBox.element = null;
|
||||
}
|
||||
messageBox.resolve = null;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user