...k. Also avoids an unnecessary variable assignment if we are returning out of the function.
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.
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.
@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