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