Ticket #11592 (closed bug: cantfix)
really weird opera bug with .find
| Reported by: | jacob@… | Owned by: | |
|---|---|---|---|
| Priority: | undecided | Milestone: | None |
| Component: | unfiled | Version: | 1.7.1 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
This is a really strange one - didn't look into it too much.
In bootstrap we had code which looked like:
$body.find(selector)
this was called when a scroll encountered a particular place in the page.
In opera 11, if you were scrolling (by holding onto the scrollbar), when you got to a target the scroll would stop.
here's a bootstrap issue explaining the problem further: https://github.com/twitter/bootstrap/issues/1776
you can reproduce the bug (currently in 2.0.2) by trying the dropdown example here: http://twitter.github.com/bootstrap/javascript.html#dropdown
for whatever reason - replacing $body.find(selector) with $(selector) fixes this problem.
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

Maybe it's missing a semicolon?