• Dave Methvin's avatar
    Fix #11328. I've never metaKey I liked on IE 6/7/8. · f8c02c88
    Dave Methvin authored
    The `event.metaKey` property is undefined there so we ensure it's set to `false` for lack of a better default. The `originalEvent.metaKey` property is untouched if you prefer to make other guesses about the platform or key state.
    
    This is pretty much impossible to unit test since it is not only platform dependendent but also only executed for native browser events.
    f8c02c88
event.js 31.8 KB