diff options
author | Jason Finneyfrock <jfinneyfrock@gmail.com> | 2012-05-14 14:50:37 -0400 |
---|---|---|
committer | Jason Finneyfrock <jfinneyfrock@gmail.com> | 2012-05-14 14:50:37 -0400 |
commit | ba6bec22c45033ae59ea878b928ab1985e0f1f81 (patch) | |
tree | 23e581b24b5136ba0ea0f407b662c545386b9ec6 | |
parent | b76e42979afb119c70a20f6393b5be22cc634052 (diff) | |
download | perl-software-in-gnu-guix-ba6bec22c45033ae59ea878b928ab1985e0f1f81.tar perl-software-in-gnu-guix-ba6bec22c45033ae59ea878b928ab1985e0f1f81.tar.gz |
use home and end key
-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 ) { |