From 8ed795e0cfc00e416d17e4f339823806e778a67a Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Thu, 27 Nov 2014 15:29:03 +0900 Subject: bind 'd' to toggle date style --- js/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js') 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");}); -- cgit v1.2.3