Shift + Space: previous slide.

This commit is contained in:
Nikita Vasilyev 2010-10-31 08:57:17 +03:00
parent a0ff05b0f7
commit 1164614a7d
1 changed files with 3 additions and 1 deletions

View File

@ -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;
} }