summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/js/urweb.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/js/urweb.js b/lib/js/urweb.js
index 5f9a0a13..00a9cc1d 100644
--- a/lib/js/urweb.js
+++ b/lib/js/urweb.js
@@ -781,7 +781,7 @@ function rv(chn, parse, k) {
var msg = dequeue(ch.msgs);
if (msg == null) {
- enqueue(ch.listeners, function(msg) { k(parse(msg))(null); });
+ enqueue(ch.listeners, function(msg) { execF(execF(k, parse(msg)), null); });
} else {
try {
execF(execF(k, parse(msg)), null);