Fix on typo
This commit is contained in:
		| @ -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(), | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user