This repository was archived by the owner on Feb 7, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -359,9 +359,9 @@ var codeViewer = {
359
359
codeViewer . swapCode ( "m" ) ;
360
360
return false ;
361
361
}
362
- } else if ( data . keyPress == 'ctrl+shift+h ' ) {
362
+ } else if ( data . keyPress == 'ctrl+shift+y ' ) {
363
363
if ( codeViewer . codeActive ) {
364
- codeViewer . swapCode ( "h " ) ;
364
+ codeViewer . swapCode ( "e " ) ;
365
365
return false ;
366
366
}
367
367
} else if ( data . keyPress == 'esc' ) {
@@ -409,7 +409,7 @@ jwerty.key('ctrl+shift+u', function (e) {
409
409
} ) ;
410
410
411
411
// open the html panel
412
- jwerty . key ( 'ctrl+shift+h ' , function ( e ) {
412
+ jwerty . key ( 'ctrl+shift+y ' , function ( e ) {
413
413
if ( codeViewer . codeActive ) {
414
414
codeViewer . swapCode ( "e" ) ;
415
415
return false ;
Original file line number Diff line number Diff line change 214
214
215
215
// start hay from a keyboard shortcut
216
216
jwerty . key ( 'ctrl+shift+h' , function ( e ) {
217
- if ( hayMode ) {
217
+ if ( ! hayMode ) {
218
218
startHay ( ) ;
219
219
} else {
220
220
killHay ( ) ;
221
221
}
222
- return false ;
223
222
} ) ;
224
223
225
224
//Pixel input
583
582
killDisco ( ) ;
584
583
}
585
584
} else if ( data . keyPress == 'ctrl+shift+h' ) {
586
- if ( hayMode ) {
585
+ if ( ! hayMode ) {
587
586
startHay ( ) ;
588
587
} else {
589
588
killHay ( ) ;
You can’t perform that action at this time.
0 commit comments