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) { function resolveWith(value) {
if (messageBox.resolve) {
unbindGlobalListeners(); unbindGlobalListeners();
setTimeout(messageBox.resolve, 0, value); setTimeout(messageBox.resolve, 0, value);
animateElement(messageBox.element, {className: 'fadeout', remove: true}) animateElement(messageBox.element, {className: 'fadeout', remove: true})
.then(removeSelf); .then(removeSelf);
} }
}
function createElement() { function createElement() {
if (messageBox.element) { if (messageBox.element) {