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