diff options
author | Sean Whitton <spw@sdf.org> | 2014-11-12 07:05:24 +0900 |
---|---|---|
committer | Sean Whitton <spw@sdf.org> | 2014-11-12 07:05:24 +0900 |
commit | 3596bd844296ccb1f18f2d9d53fd77ffc5eccabc (patch) | |
tree | 2a18e1a9feab2b9435fcf2bba5a5ac41bd448655 /js/main.js | |
parent | 4af7bbed3fe7849ea0e12301a203c277bf4227bc (diff) | |
download | schoolclock-3596bd844296ccb1f18f2d9d53fd77ffc5eccabc.tar.gz |
bind hotkey j to toggle time wasting clock
Diffstat (limited to 'js/main.js')
-rw-r--r-- | js/main.js | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -25,6 +25,8 @@ function timeWastingClockToggle() } } +$(document).bind('keydown', 'j', timeWastingClockToggle); + $(document).ready(function(){ $('#timeWastingClockGo').button(); $('#timeWastingClockGo').click(timeWastingClockToggle); |