diff lib/js/urweb.js @ 606:5145181b02fa

Use normal fields of ctextboxes
author Adam Chlipala <adamc@hcoop.net>
date Tue, 27 Jan 2009 09:53:51 -0500
parents 20c083327364
children 56aaa1941dad
line wrap: on
line diff
--- a/lib/js/urweb.js	Sat Jan 17 09:55:12 2009 -0500
+++ b/lib/js/urweb.js	Tue Jan 27 09:53:51 2009 -0500
@@ -87,6 +87,7 @@
   addNode(x);
   s.h = cons(function() { x.value = s.v }, s.h);
   x.onkeyup = function() { sv(s, x.value) };
+  return x;
 }
 
 function eh(x) {