aboutsummaryrefslogtreecommitdiffhomepage
path: root/js/reveal.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/reveal.js')
-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 ) {