diff options
author | Sean Whitton <spw+git@sdf.org> | 2014-11-12 15:32:36 +0900 |
---|---|---|
committer | Sean Whitton <spw+git@sdf.org> | 2014-11-12 15:32:36 +0900 |
commit | e20b509b1de6293adffdc2af9a5771dee71eb687 (patch) | |
tree | 5ccb0d3da883c7ea6b3e4623a779f3fcf052776f /js | |
parent | 57a1887df1e64c22034776c21b2823e29df735b6 (diff) | |
download | schoolclock-e20b509b1de6293adffdc2af9a5771dee71eb687.tar.gz |
hotkeys for other activity clock presets
Diffstat (limited to 'js')
-rw-r--r-- | js/main.js | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -95,8 +95,13 @@ function timeWastingClockReset() } $(document).bind('keydown', 's', timeWastingClockReset); - +$(document).bind('keydown', '0', function (){activityClockGo(30);}); $(document).bind('keydown', '1', function (){activityClockGo(60);}); +$(document).bind('keydown', '9', function (){activityClockGo(90);}); +$(document).bind('keydown', '2', function (){activityClockGo(120);}); +$(document).bind('keydown', '3', function (){activityClockGo(180);}); +$(document).bind('keydown', '4', function (){activityClockGo(240);}); +$(document).bind('keydown', '5', function (){activityClockGo(300);}); $(document).ready(function(){ $('#klaxon').button(); |