Merge pull request #41 from frockenstein/master

home and end key use
This commit is contained in:
Hakim El Hattab 2012-05-14 21:37:31 -07:00
commit 507cab9dc9
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;
// j, down
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 ) {