Commit 1164614a authored by Nikita Vasilyev's avatar Nikita Vasilyev

Shift + Space: previous slide.

parent a0ff05b0
......@@ -20,12 +20,14 @@ $(function() {
case 37 : // Left
var target = current.prev( slides );
break;
case 32 : // Space
case 34 : // PgDown
case 40 : // Down
case 39 : // Right
var target = current.next( slides );
break;
case 32 : // Space
var target = current[e.shiftKey ? "prev" : "next"]( slides );
break;
default:
return;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment