diff options
author | Hakim El Hattab | 2012-05-14 21:37:31 -0700 |
---|---|---|
committer | Hakim El Hattab | 2012-05-14 21:37:31 -0700 |
commit | 507cab9dc9721d07eeabcf74f2b830480d09558c (patch) | |
tree | 23e581b24b5136ba0ea0f407b662c545386b9ec6 | |
parent | b76e42979afb119c70a20f6393b5be22cc634052 (diff) | |
parent | ba6bec22c45033ae59ea878b928ab1985e0f1f81 (diff) |
Merge pull request #41 from frockenstein/master
home and end key use
-rw-r--r-- | js/reveal.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/js/reveal.js b/js/reveal.js index d35170d..23975c3 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -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 ) { |