File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/jupyter_contrib_nbextensions/nbextensions/collapsible_headings Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 634
634
635
635
var kbm = Jupyter . keyboard_manager ;
636
636
637
- var action_up = kbm . actions . get ( kbm . command_shortcuts . get_shortcut ( 'up' ) ) ;
637
+ var action_up = kbm . actions . get ( "jupyter-notebook:select-previous-cell" ) ;
638
638
var orig_up_handler = action_up . handler ;
639
639
action_up . handler = function ( env ) {
640
640
for ( var index = env . notebook . get_selected_index ( ) - 1 ; ( index !== null ) && ( index >= 0 ) ; index -- ) {
647
647
return orig_up_handler . apply ( this , arguments ) ;
648
648
} ;
649
649
650
- var action_down = kbm . actions . get ( kbm . command_shortcuts . get_shortcut ( 'down' ) ) ;
650
+ var action_down = kbm . actions . get ( "jupyter-notebook:select-next-cell" ) ;
651
651
var orig_down_handler = action_down . handler ;
652
652
action_down . handler = function ( env ) {
653
653
var ncells = env . notebook . ncells ( ) ;
You can’t perform that action at this time.
0 commit comments