summaryrefslogtreecommitdiffhomepage
path: root/js
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2014-11-27 15:29:03 +0900
committerSean Whitton <spwhitton@spwhitton.name>2014-11-27 15:29:03 +0900
commit8ed795e0cfc00e416d17e4f339823806e778a67a (patch)
tree745be0ae63ff0387192d6d11a0e24e476309e3be /js
parent6d57bef819c8bedd106e0f1ac7777d36a3ff5d84 (diff)
downloadschoolclock-8ed795e0cfc00e416d17e4f339823806e778a67a.tar.gz
bind 'd' to toggle date style
Diffstat (limited to 'js')
-rw-r--r--js/main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/main.js b/js/main.js
index 190e7de..e5dac2a 100644
--- a/js/main.js
+++ b/js/main.js
@@ -4,7 +4,6 @@
* - rework use of global variables and functions into OO idioms
* - initialise time wasting clock from storage in OO idiom rather
* than just stray function call
- * - bind a key to toggle the date
*/
$.ionSound({
@@ -74,6 +73,7 @@ function timeWastingClockToggle()
$(document).bind('keydown', 't', timeWastingClockToggle);
$(document).bind('keydown', 'j', timeWastingClockToggle);
$(document).bind('keydown', 'space', timeWastingClockToggle);
+$(document).bind('keydown', 'd', toggleDateStyle);
$(document).bind('keydown', 'k', function (){$.ionSound.play("klaxon");});
$(document).bind('keydown', 'o', function (){$.ionSound.play("onetwothree");});