Yeah, that looks like an easy fix - thanks!

--John



On Thu, Feb 12, 2009 at 11:11 AM, mike.helgeson <mike.helge...@gmail.com> wrote:
>
> Not sure if this is considered a bug, but it breaks some of my code...
> Passing any non-element into the offset method throws an error... I
> think it should instead return zero values...
>
> $( document ).offset(); // ERROR
> $( window ).offset(); // ERROR
>
> Here is a very simple proposed patch...
>
> http://dev.jquery.com/ticket/4136
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to jquery-dev@googlegroups.com
To unsubscribe from this group, send email to 
jquery-dev+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to