summaryrefslogtreecommitdiff
path: root/lib/js/urweb.js
diff options
context:
space:
mode:
authorGravatar Adam Chlipala <adam@chlipala.net>2011-11-24 11:41:52 -0500
committerGravatar Adam Chlipala <adam@chlipala.net>2011-11-24 11:41:52 -0500
commit2b815d1173c0b7a63d43b5503e64cb6c76a03a4c (patch)
tree849664203b1d550567b19e83399e2684e468864e /lib/js/urweb.js
parent3bc2a410599b65ab4936333b0bd71fce094b5fe2 (diff)
Catch more <ccheckbox> events
Diffstat (limited to 'lib/js/urweb.js')
-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 3829cdb2..a6ea21c1 100644
--- a/lib/js/urweb.js
+++ b/lib/js/urweb.js
@@ -894,7 +894,7 @@ function chk(s) {
var x = input(document.createElement("input"), s,
function(x) { return function(v) { if (x.checked != v) x.checked = v; }; }, "checkbox");
x.defaultChecked = x.checked = s.data;
- x.onclick = function() { sv(s, x.checked) };
+ x.onclick = x.onkeyup = x.oninput = x.onchange = x.onpropertychange = function() { sv(s, x.checked) };
return x;
}