Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing issue found in IE9+ with change event dispatch #42

Merged
merged 1 commit into from
Nov 1, 2014
Merged

Fixing issue found in IE9+ with change event dispatch #42

merged 1 commit into from
Nov 1, 2014

Commits on Sep 2, 2014

  1. Fixing issue found in IE9+ with change event dispatch

    In my app, I discovered that in IE9 the `change` event would not fire as expected. Basically,
    only a handler attached via `onchange = function () { ... };` would work, all others such as
    those bound via `addEventListener` would not fire at all.
    
    After closer investigation, the condition used to test whether to use `dispatchEvent` or `fireEvent`
    was not catching IE9+ correctly. (ie: `typeof Event === "object"`) so I've changed this conditional
    to hopefully be simpler and more accurate.
    Dominic Barnes committed Sep 2, 2014
    Configuration menu
    Copy the full SHA
    a5796a4 View commit details
    Browse the repository at this point in the history