mirror of
https://github.com/videojs/video.js.git
synced 2025-03-17 21:18:27 +02:00
Merge pull request #1605 from mmcc/hotfix/keyboard-location
maybe actually check for keyLocation
This commit is contained in:
commit
330aed03c6
@ -188,7 +188,7 @@ vjs.fixEvent = function(event) {
|
||||
for (var key in old) {
|
||||
// Safari 6.0.3 warns you if you try to copy deprecated layerX/Y
|
||||
// Chrome warns you if you try to copy deprecated keyboardEvent.keyLocation
|
||||
if (key !== 'layerX' && key !== 'layerY' && key !== 'keyboardEvent.keyLocation') {
|
||||
if (key !== 'layerX' && key !== 'layerY' && key !== 'keyLocation') {
|
||||
// Chrome 32+ warns if you try to copy deprecated returnValue, but
|
||||
// we still want to if preventDefault isn't supported (IE8).
|
||||
if (!(key == 'returnValue' && old.preventDefault)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user