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