diff options
author | Hakim El Hattab | 2012-05-15 00:40:03 -0400 |
---|---|---|
committer | Hakim El Hattab | 2012-05-15 00:40:03 -0400 |
commit | eccffbe85930e8305c6c0d3afd712d32096aae7d (patch) | |
tree | 4cd6e93f86112b933e1dece132f370fdef48ec99 /js/reveal.js | |
parent | 507cab9dc9721d07eeabcf74f2b830480d09558c (diff) |
adjust end key nav to last slide
Diffstat (limited to 'js/reveal.js')
-rw-r--r-- | js/reveal.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/reveal.js b/js/reveal.js index 23975c3..76bdcba 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -200,9 +200,9 @@ var Reveal = (function(){ // j, down case 74: case 40: navigateDown(); triggered = true; break; // home - case 36: navigateTo(0); triggered = true; break; + case 36: navigateTo( 0 ); triggered = true; break; // end - case 35: navigateTo( document.querySelectorAll( HORIZONTAL_SLIDES_SELECTOR ).length ); triggered = true; break; + case 35: navigateTo( Number.MAX_VALUE ); triggered = true; break; } if( triggered ) { |