In some scenarios (e.g. Ctrl-Click) in Firefox and IE the event object does not have the keyCode property. Therefore the loop always returns false when comparing properties with the jwertycode object.
This check skips the comparison if the property is missing on the event object.
In some scenarios (e.g. Ctrl-Click) in Firefox and IE the event object does not have the keyCode property. Therefore the loop always returns false when comparing properties with the jwertycode object.
This check skips the comparison if the property is missing on the event object.