diff --git a/src/event/synthetic/SyntheticMouseEvent.js b/src/event/synthetic/SyntheticMouseEvent.js index 1e894ae9383..8eb1f49a81f 100644 --- a/src/event/synthetic/SyntheticMouseEvent.js +++ b/src/event/synthetic/SyntheticMouseEvent.js @@ -35,6 +35,10 @@ var MouseEventInterface = { shiftKey: null, altKey: null, metaKey: null, + // IE8 does not implement getModifierState, we could polyfill it for modifier + // keys exposed by the event itself, however since they are already exposed + // and there is no way to polyfill Lock-keys, this would only hide the truth. + getModifierState: null, button: function(event) { // Webkit, Firefox, IE9+ // which: 1 2 3