projects
/
reveal.js.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b76e429
)
use home and end key
author
Jason Finneyfrock
<jfinneyfrock@gmail.com>
Mon, 14 May 2012 18:50:37 +0000
(14:50 -0400)
committer
Jason Finneyfrock
<jfinneyfrock@gmail.com>
Mon, 14 May 2012 18:50:37 +0000
(14:50 -0400)
js/reveal.js
patch
|
blob
|
history
diff --git
a/js/reveal.js
b/js/reveal.js
index d35170d6d0487418670c7d062de4df46a920c126..23975c38dc3dcc1dc045e895875a340dc8420a79 100644
(file)
--- 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 ) {