Changed custom key binding config properties to use 'keyCode' instead of 'code'
This commit is contained in:
		| @@ -1098,8 +1098,8 @@ | ||||
| 	 * Add a custom key binding with optional description to be added to the help screen | ||||
| 	 */ | ||||
| 	function addKeyBinding(binding, callback) { | ||||
| 		if (typeof binding === 'object' && binding.code) { | ||||
| 			registeredKeyBindings[binding.code] = { | ||||
| 		if (typeof binding === 'object' && binding.keyCode) { | ||||
| 			registeredKeyBindings[binding.keyCode] = { | ||||
| 				callback: callback, | ||||
| 				key: binding.key, | ||||
| 				description: binding.description | ||||
|   | ||||
		Reference in New Issue
	
	Block a user