Merge branch 'f0ckdev' into 'master'
add keybind for random (r) See merge request !107
This commit is contained in:
commit
b5fdf6d040
|
@ -8,6 +8,9 @@ function arrowKeys(e) {
|
|||
var next = document.getElementById('next');
|
||||
if(next) next.click();
|
||||
break;
|
||||
case 82:
|
||||
var random = document.getElementById('random');
|
||||
if(random) random.click();
|
||||
}
|
||||
}
|
||||
if(document.readyState == 'complete' || document.readyState == 'loaded')
|
||||
|
@ -22,5 +25,3 @@ else {
|
|||
document.addEventListener('keydown', arrowKeys);
|
||||
});
|
||||
}
|
||||
if(x = document.getElementById("player"))
|
||||
x.volume = 0.3;
|
Loading…
Reference in New Issue
Block a user