fix for #1133 so that IE9+ which has readystatechange for legacy #1148

Merged
merged 1 commit into from Aug 28, 2012

2 participants

@DimitarChristoff
MooTools member

flipped feature check to take advantage of addEventListener for load instead, if available - ie9 reports readystatechange on the element despite being able to add normal events.

@arian arian merged commit 7b9a879 into mootools:master Aug 28, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment