use home and end key

edit
Jason Finneyfrock 2012-05-14 14:50:37 -04:00
parent b76e42979a
commit ba6bec22c4
1 changed files with 4 additions and 0 deletions

View File

@ -199,6 +199,10 @@ var Reveal = (function(){
case 75: case 38: navigateUp(); triggered = true; break; case 75: case 38: navigateUp(); triggered = true; break;
// j, down // j, down
case 74: case 40: navigateDown(); triggered = true; break; case 74: case 40: navigateDown(); triggered = true; break;
// home
case 36: navigateTo(0); triggered = true; break;
// end
case 35: navigateTo( document.querySelectorAll( HORIZONTAL_SLIDES_SELECTOR ).length ); triggered = true; break;
} }
if( triggered ) { if( triggered ) {