diff --git a/mithril.js b/mithril.js index 864565f4..a03fcc47 100644 --- a/mithril.js +++ b/mithril.js @@ -1815,6 +1815,10 @@ return fire() } + if (state === REJECTING) { + d.onerror(promiseValue) + } + thennable(then, function () { state = RESOLVING fire()