When the selector passed to the "find" method (line 284 of 1.2.2 release) is not a String, the method ".indexOf" fails (line 289 of 1.2.2 release).
Wrapping the call as such seems to fix the problem:
...
(selector.indexOf && selector.indexOf("..") > -1) ? ...
However, since I don't fully understand the way jQuery works, I don't know what this might break.
Attachments
Change History
Download in other formats:
|