Revert 18a94cac30e18c

This commit is contained in:
Rob Garrison 2017-08-26 00:37:51 -05:00
parent e2228964d4
commit 53af483a18

View File

@ -43,13 +43,11 @@ function messageBox({
}
function resolveWith(value) {
if (messageBox.resolve) {
unbindGlobalListeners();
setTimeout(messageBox.resolve, 0, value);
animateElement(messageBox.element, {className: 'fadeout', remove: true})
.then(removeSelf);
}
}
function createElement() {
if (messageBox.element) {