Fix msgbox js error

This commit is contained in:
Rob Garrison 2020-03-11 22:06:05 -05:00
parent 9224c7ab6c
commit 67e886bd45

View File

@ -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;
}
}