summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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();
}