Keyboard shortcut fix

This commit is contained in:
goodtube4u
2025-06-15 12:59:19 +10:00
parent c1f2c8ccaf
commit c02cddde87

View File

@@ -639,6 +639,11 @@
return;
}
// Make sure we're watching a video
if (window.location.href.indexOf('.com/watch') === -1) {
return;
}
// Get the key pressed in lower case
let keyPressed = event.key.toLowerCase();