@@ -28,10 +28,6 @@ Searchdoc.Navigation = new function() {
2828 case 38 : //Event.KEY_UP:
2929 case 39 : //Event.KEY_RIGHT:
3030 case 40 : //Event.KEY_DOWN:
31- case 73 : // i - qwerty
32- case 74 : // j
33- case 75 : // k
34- case 76 : // l
3531 this . clearMoveTimeout ( ) ;
3632 break ;
3733 }
@@ -42,45 +38,30 @@ Searchdoc.Navigation = new function() {
4238
4339 switch ( e . keyCode ) {
4440 case 37 : //Event.KEY_LEFT:
45- case 74 : // j (qwerty)
4641 if ( this . moveLeft ( ) ) e . preventDefault ( ) ;
4742 break ;
4843 case 38 : //Event.KEY_UP:
49- case 73 : // i (qwerty)
50- if ( e . keyCode == 38 || e . ctrlKey ) {
51- if ( this . moveUp ( ) ) e . preventDefault ( ) ;
52- this . startMoveTimeout ( false ) ;
53- }
44+ if ( this . moveUp ( ) ) e . preventDefault ( ) ;
45+ this . startMoveTimeout ( false ) ;
5446 break ;
5547 case 39 : //Event.KEY_RIGHT:
56- case 76 : // l (qwerty)
5748 if ( this . moveRight ( ) ) e . preventDefault ( ) ;
5849 break ;
5950 case 40 : //Event.KEY_DOWN:
60- case 75 : // k (qwerty)
61- if ( e . keyCode == 40 || e . ctrlKey ) {
62- if ( this . moveDown ( ) ) e . preventDefault ( ) ;
63- this . startMoveTimeout ( true ) ;
64- }
51+ if ( this . moveDown ( ) ) e . preventDefault ( ) ;
52+ this . startMoveTimeout ( true ) ;
6553 break ;
6654 case 13 : //Event.KEY_RETURN:
6755 if ( e . target . dataset [ "turbo" ] ) { break ; }
6856 if ( this . $current ) this . select ( this . $current ) ;
6957 break ;
70- case 83 : // s (qwerty) - Focuses search
71- if ( e . ctrlKey ) {
72- $ ( '#search' ) . focus ( ) ;
73- e . preventDefault ( ) ;
74- }
75- break ;
7658 case 191 : // / - Search by pressing "/"
7759 if ( ! $ ( '#search' ) . is ( ":focus" ) ) {
7860 $ ( '#search' ) . focus ( ) ;
7961 e . preventDefault ( ) ;
8062 }
8163 break ;
8264 }
83- if ( e . ctrlKey && e . shiftKey ) this . select ( this . $current ) ;
8465 } ;
8566
8667 this . clearMoveTimeout = function ( ) {
0 commit comments