Shift + Space: previous slide.
This commit is contained in:
parent
a0ff05b0f7
commit
1164614a7d
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue