mirror of
https://github.com/flynx/pWiki.git
synced 2025-10-29 18:10:09 +00:00
minor tweak...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
0108999fac
commit
48c2d3d41c
2
pwiki.js
2
pwiki.js
@ -1101,7 +1101,7 @@ module.hiddenPromise = {
|
|||||||
// XXX not sure if this is correct...
|
// XXX not sure if this is correct...
|
||||||
catch: function(func){
|
catch: function(func){
|
||||||
if(this.__promise != null){
|
if(this.__promise != null){
|
||||||
this.__promise.catch(func)
|
this.__promise = this.__promise.catch(func)
|
||||||
}
|
}
|
||||||
return this
|
return this
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user