Merge branch 'master' of github.com:igrigorik/videospeed into apple-tv-plus

This commit is contained in:
Jonathan Dawson
2019-11-20 17:57:52 -06:00

View File

@@ -395,9 +395,9 @@
} }
// Ignore keydown event if typing in an input box // Ignore keydown event if typing in an input box
if (document.activeElement.nodeName === 'INPUT' if (event.target.nodeName === 'INPUT'
|| document.activeElement.nodeName === 'TEXTAREA' || event.target.nodeName === 'TEXTAREA'
|| document.activeElement.isContentEditable) { || event.target.isContentEditable) {
return false; return false;
} }