summaryrefslogtreecommitdiff
path: root/lib/js
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adamc@hcoop.net>2009-01-27 09:53:51 -0500
committerGravatar Adam Chlipala <adamc@hcoop.net>2009-01-27 09:53:51 -0500
commitf75d359eeaaca5884d515380b735826532fad15c (patch)
tree7baa355a0b01c717860e5324b8376d52a3a26180 /lib/js
parent9d4b65c06d1277c74e0c6f782f0e2b93d7919da2 (diff)
Use normal fields of ctextboxes
Diffstat (limited to 'lib/js')
-rw-r--r--lib/js/urweb.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/js/urweb.js b/lib/js/urweb.js
index 7bb6849e..c46263b8 100644
--- a/lib/js/urweb.js
+++ b/lib/js/urweb.js
@@ -87,6 +87,7 @@ function inp(t, s) {
addNode(x);
s.h = cons(function() { x.value = s.v }, s.h);
x.onkeyup = function() { sv(s, x.value) };
+ return x;
}
function eh(x) {