mirror of
https://github.com/goodtube4u/goodtube.git
synced 2025-11-22 10:16:11 +00:00
Keyboard shortcut fix
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user