mirror of
https://github.com/goodtube4u/goodtube.git
synced 2025-11-22 10:16:11 +00:00
Fix media key shortcut for play/pause
This commit is contained in:
@@ -1454,9 +1454,7 @@
|
||||
// Prevent default actions
|
||||
event.preventDefault();
|
||||
event.stopImmediatePropagation();
|
||||
|
||||
|
||||
|
||||
// Swap media key to spacebar when we pass it down. This ensures that the play / pause works correctly
|
||||
let event_key = event.key;
|
||||
let event_keyCode = event.keyCode;
|
||||
|
||||
Reference in New Issue
Block a user