Revert 18a94cac30e18c
This commit is contained in:
parent
e2228964d4
commit
53af483a18
|
@ -43,12 +43,10 @@ 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() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user