diff --git a/mithril.js b/mithril.js index 2b832a7c..13fb9e5a 100644 --- a/mithril.js +++ b/mithril.js @@ -1212,8 +1212,8 @@ void (function (global, factory) { // eslint-disable-line prop.then = function (fufill, reject) { return promise.then(function () { - return prop() - }).then(fufill, reject) + return fufill(prop()) + }, reject) } prop.catch = function (reject) {