workout: fix arrow key scroll — target .main not #workoutColumn
This commit is contained in:
@@ -224,7 +224,7 @@
|
||||
|
||||
<script>
|
||||
// Remote control: arrow keys scroll workout
|
||||
const workoutCol = document.getElementById('workoutColumn');
|
||||
const workoutCol = document.querySelector('.main');
|
||||
const SCROLL_AMOUNT = 120;
|
||||
|
||||
document.addEventListener('keydown', (e) => {
|
||||
|
||||
Reference in New Issue
Block a user