Well in my case I wasn't passing any context in, but if the same code applies
to both cases, I'll take your word for it.  Glad to see it has been fixed.

Jennifer


Klaus Hartl wrote:
> 
> bander wrote:
>>> But after upgrading to 1.1.1, I got an error saying focus() wasn't a
>>> method.  So I added a little debugging alert, and apparently,
>>> $(".focus").get(0) is returning the document object!  If I call
>>> $(".focus").size() it returns 0, but yet when I call .get(0) it's
>>> returning something?  Anyone else seeing this?
>>>
> 
> Yes: http://jquery.com/dev/bugs/bug/861/
> 
> 
> -- Klaus
> 
> 
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/in-1.1.1%2C-get%280%29-returns-the-document-when-it-shouldn%27t-be-returning-anything%21-tf3058953.html#a8527775
Sent from the JQuery mailing list archive at Nabble.com.


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to