From 48c2d3d41c26f0b9aa2a4dd274e82ace8f606f06 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Wed, 5 Oct 2016 06:27:09 +0300 Subject: [PATCH] minor tweak... Signed-off-by: Alex A. Naanou --- pwiki.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pwiki.js b/pwiki.js index 43e18ee..24fb706 100755 --- a/pwiki.js +++ b/pwiki.js @@ -1101,7 +1101,7 @@ module.hiddenPromise = { // XXX not sure if this is correct... catch: function(func){ if(this.__promise != null){ - this.__promise.catch(func) + this.__promise = this.__promise.catch(func) } return this },