From a35da3e995b3e17e8c7a827e4d6cad2fcce4b944 Mon Sep 17 00:00:00 2001 From: Matthew McClure Date: Wed, 22 Oct 2014 15:34:58 -0500 Subject: [PATCH] maybe actually check for keyLocation --- src/js/events.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/events.js b/src/js/events.js index 91635f3a3..2e78a6b15 100644 --- a/src/js/events.js +++ b/src/js/events.js @@ -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)) {