aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Finneyfrock <jfinneyfrock@gmail.com>2012-05-14 14:50:37 -0400
committerJason Finneyfrock <jfinneyfrock@gmail.com>2012-05-14 14:50:37 -0400
commitba6bec22c45033ae59ea878b928ab1985e0f1f81 (patch)
tree23e581b24b5136ba0ea0f407b662c545386b9ec6
parentb76e42979afb119c70a20f6393b5be22cc634052 (diff)
downloadperl-software-in-gnu-guix-ba6bec22c45033ae59ea878b928ab1985e0f1f81.tar
perl-software-in-gnu-guix-ba6bec22c45033ae59ea878b928ab1985e0f1f81.tar.gz
use home and end key
-rw-r--r--js/reveal.js4
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 ) {