Skip to content

Commit

Permalink
Update shortcuts.js developer warning
Browse files Browse the repository at this point in the history
  • Loading branch information
raszpl authored Jun 29, 2024
1 parent 16c1364 commit 08f7bcd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions js&css/web-accessible/www.youtube.com/shortcuts.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
/*------------------------------------------------------------------------------
4.7.0 SHORTCUTS
WARNING: Browser Debugger Breakpoint downstream from keydown() event will eat corresponding keyup()
thus breaking our tracking of ImprovedTube.input.pressed.keys (stuck key) until said Breakpoint
is disabled and key pressed again OR switching tabs/windows to trigger 'improvedtube-blur'.
Make sure to have that in mind when debugging.
------------------------------------------------------------------------------*/
ImprovedTube.shortcuts = function () {
const ignoreElements = ['EMBED', 'INPUT', 'OBJECT', 'TEXTAREA', 'IFRAME'],
Expand Down

0 comments on commit 08f7bcd

Please sign in to comment.