Fix on typo

This commit is contained in:
Chrysa Papadopoulou 2017-02-14 16:42:40 +02:00
parent 9c599884a8
commit d57e453541

View File

@ -57,7 +57,7 @@
hideControls: true, hideControls: true,
showPosterOnEnd: false, showPosterOnEnd: false,
disableContextMenu: true, disableContextMenu: true,
keyboardShorcuts: { keyboardShortcuts: {
focused: true, focused: true,
global: false global: false
}, },
@ -3472,11 +3472,11 @@
} }
// Keyboard shortcuts // Keyboard shortcuts
if (config.keyboardShorcuts.focused) { if (config.keyboardShortcuts.focused) {
var last = null; var last = null;
// Handle global presses // Handle global presses
if (config.keyboardShorcuts.global) { if (config.keyboardShortcuts.global) {
on(window, 'keydown keyup', function(event) { on(window, 'keydown keyup', function(event) {
var code = getKeyCode(event), var code = getKeyCode(event),
focused = getFocusElement(), focused = getFocusElement(),