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

Shift + Space: previous slide.

parent a0ff05b0
...@@ -20,12 +20,14 @@ $(function() { ...@@ -20,12 +20,14 @@ $(function() {
case 37 : // Left case 37 : // Left
var target = current.prev( slides ); var target = current.prev( slides );
break; break;
case 32 : // Space
case 34 : // PgDown case 34 : // PgDown
case 40 : // Down case 40 : // Down
case 39 : // Right case 39 : // Right
var target = current.next( slides ); var target = current.next( slides );
break; break;
case 32 : // Space
var target = current[e.shiftKey ? "prev" : "next"]( slides );
break;
default: default:
return; 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