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
if (document.activeElement.nodeName === 'INPUT'
|| document.activeElement.nodeName === 'TEXTAREA'
|| document.activeElement.isContentEditable) {
if (event.target.nodeName === 'INPUT'
|| event.target.nodeName === 'TEXTAREA'
|| event.target.isContentEditable) {
return false;
}