Fixes problem in IE where offsetParent was null, putting after null chec... #1122

Closed
wants to merge 1 commit into from

3 participants

@javascriptjedi

...k. Also avoids an unnecessary variable assignment if we are returning out of the function.

jqueryninja Fixes problem in IE where offsetParent was null, putting after null c…
…heck. Also avoids an unnecessary variable assignment if we are returning out of the function.
527e753
@loganfsmyth

I'm running into this too, in Chrome. This fix works for me, and it makes sense since that if statement implies that offsetParent can be null.

@SergioCrisostomo
MooTools member

@jqueryninja and @loganfsmyth Thank you for bringing this up!
The correction you wanted was added here and will be shipped with More 1.5 due to release the next days .

I close this now. Cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment