changed keypress to keydown, to allow for repeating when key is held down

This commit is contained in:
Richard Harrington 2013-08-19 21:05:26 -04:00
parent c4397525e5
commit 2074f589a5

View File

@ -142,7 +142,7 @@
});
// Keyboard event listeners for fast-forward control
$('body').bind('keyup', function(event) {
$('body').bind('keydown', function(event) {
if (event.which === 37) {
fastForward = Math.max(fastForward - 1, 1);
}