summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-10-27 13:00:59 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2014-10-27 13:00:59 -0700
commited71000999c85f11fe3861e7ac2a02faedbf310a (patch)
tree9d5c234e255ad13e51b04fed0394d73d8ec52ca3
parentb77e606261c821883476aed2b856a594a642ecae (diff)
Fixed tab fix in previous commit.
-rw-r--r--dingus.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/dingus.html b/dingus.html
index 373db8f..5f91523 100644
--- a/dingus.html
+++ b/dingus.html
@@ -71,7 +71,7 @@ $(document).ready(function() {
$('#result-tabs a[href="#result"]').tab('show');
}
// make tab insert a tab in the text box:
- $("#text").addEventListener('keydown', function (e) {
+ $("#text").keydown(function (e) {
if (e.which == 9) {
e.preventDefault();
}