File tree 2 files changed +2
-19
lines changed
2 files changed +2
-19
lines changed Original file line number Diff line number Diff line change @@ -23,23 +23,6 @@ $( document ).ready(function() {
23
23
hljs . highlightBlock ( block ) ;
24
24
} ) ;
25
25
26
- var KEY_CODES = {
27
- PREVIOUS_KEY : 37 ,
28
- NEXT_KEY : 39
29
- } ;
30
-
31
- $ ( document ) . on ( 'keydown' , function ( e ) {
32
- if ( e . altKey === true ) {
33
- switch ( e . keyCode ) {
34
- case KEY_CODES . NEXT_KEY :
35
- window . location . href = $ ( '.nav-chapters.next' ) . attr ( 'href' ) ;
36
- break ;
37
- case KEY_CODES . PREV_KEY :
38
- window . location . href = $ ( '.nav-chapters.previous' ) . attr ( 'href' ) ;
39
- break ;
40
- }
41
- }
42
- } ) ;
43
26
44
27
// Interesting DOM Elements
45
28
var html = $ ( "html" ) ;
Original file line number Diff line number Diff line change 84
84
</div >
85
85
86
86
{{ #previous }}
87
- <a href =" {{ link }} " class =" nav-chapters previous" title = " Alt + ← " >
87
+ <a href =" {{ link }} " class =" nav-chapters previous" >
88
88
<i class =" fa fa-angle-left" ></i >
89
89
</a >
90
90
{{ /previous }}
91
91
92
92
{{ #next }}
93
- <a href =" {{ link }} " class =" nav-chapters next" title = " Alt + → " >
93
+ <a href =" {{ link }} " class =" nav-chapters next" >
94
94
<i class =" fa fa-angle-right" ></i >
95
95
</a >
96
96
{{ /next }}
You can’t perform that action at this time.
0 commit comments