From 685e71d5a59bd18435d3702fb3513df472f8104c Mon Sep 17 00:00:00 2001 From: Isiah Meadows Date: Sun, 8 Nov 2015 10:30:55 -0500 Subject: [PATCH] Fix #824 --- mithril.js | 4 ++++ 1 file changed, 4 insertions(+) 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()