diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2014-11-27 15:29:03 +0900 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2014-11-27 15:29:03 +0900 |
commit | 8ed795e0cfc00e416d17e4f339823806e778a67a (patch) | |
tree | 745be0ae63ff0387192d6d11a0e24e476309e3be /js | |
parent | 6d57bef819c8bedd106e0f1ac7777d36a3ff5d84 (diff) | |
download | schoolclock-8ed795e0cfc00e416d17e4f339823806e778a67a.tar.gz |
bind 'd' to toggle date style
Diffstat (limited to 'js')
-rw-r--r-- | js/main.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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");}); |