diff lib/js/urweb.js @ 681:6c9b8875f347

Switch back to starting listener on load
author Adam Chlipala <adamc@hcoop.net>
date Sat, 28 Mar 2009 11:15:42 -0400
parents 44f23712020d
children 5bbb542243e8
line wrap: on
line diff
--- a/lib/js/urweb.js	Sat Mar 28 11:13:36 2009 -0400
+++ b/lib/js/urweb.js	Sat Mar 28 11:15:42 2009 -0400
@@ -300,17 +300,10 @@
   connect();
 }
 
-var listener_started = false;
-
 function rv(chn, parse, k) {
   if (chn < 0)
     whine("Out-of-bounds channel receive");
 
-  if (!listener_started) {
-    listener_started = true;
-    listener();
-  }
-
   var ch;
 
   if (chn >= channels.length || channels[chn] == null) {