mirror of
https://github.com/TrentSPalmer/fcc-challenges.git
synced 2026-11-09 18:35:09 -08:00
drum-machine bind key 'v' to .focus();
This commit is contained in:
1 parent
7ee69b2bcd
commit
0e66e7f75d
1 file changed
+2
-1
@@ -26,7 +26,8 @@ $(document).ready(function () {
|
||||
makeVolumeSelection('( cancel -- back )');
|
||||
} else if (e.keyCode === 27 && metronomeMenuDisplayed) {
|
||||
makeMetronomeSelection('( cancel -- back )');
|
||||
} else if ([37,38,39,40].includes(e.keyCode)) {
|
||||
} else if (e.keyCode === 86) {
|
||||
$('#volume .ui-slider-handle').focus();
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user