summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-09-09 14:00:01 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2014-09-09 14:00:01 -0700
commit58380f379f3fceb87c03fc8553bc100d0eccaa76 (patch)
treea8ca3b7393484a2491d3186025d3755b422fe44c
parent66a30915a8cfa45d3b87dc447a4ada71866ad82b (diff)
Use generic 'change' to trigger parseAndRender.
Modifies #98.
-rw-r--r--js/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/index.html b/js/index.html
index 994b147..3c75b5c 100644
--- a/js/index.html
+++ b/js/index.html
@@ -52,7 +52,7 @@ $(document).ready(function() {
render();
}, 0); // ms delay
};
- $("#text").keyup(parseAndRender);
+ $("#text").change(parseAndRender);
$(".option").change(render);
});
</script>