mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 09:49:28 +02:00
Update
This commit is contained in:
parent
75ca67e9f2
commit
b8ef821d0b
1 changed files with 6 additions and 1 deletions
|
@ -27,6 +27,11 @@ window.addEventListener('keydown', function(event) {
|
|||
default:
|
||||
return; // Exit for other keys
|
||||
}
|
||||
|
||||
// Stop propagation and prevent default action
|
||||
event.stopPropagation();
|
||||
event.preventDefault();
|
||||
|
||||
console.log('keydown', message, event);
|
||||
sendMessageToAllIframes(message);
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue