Opened 12 years ago
Closed 12 years ago
#7975 closed bug (fixed)
filter() behavior is different when source is single dom vs multiple dom nodes
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | low | Milestone: | 1.4.4 |
Component: | traversing | Version: | 1.4.4 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
I have a bunch of <li data-id="0-0"/> <li data-id="0-1"/> etc
$("li").filter("[data-id=0-0]") returns the 1 matching node
$("li").filter("[data-id=0-0]").filter("[data-id=0-0]") returns empty! It should return that 1 node.
Change History (2)
comment:1 follow-up: 2 Changed 12 years ago by
comment:2 Changed 12 years ago by
Component: | unfiled → traversing |
---|---|
Milestone: | 1.next → 1.4.4 |
Priority: | undecided → low |
Resolution: | → fixed |
Status: | new → closed |
Thanks for taking the time to contribute to the jQuery project by writing a bug report. I tried to reproduce the bug you described but wasn't able to do so. Even when using older jQuery versions. Could you please provide a test case on http://jsfiddle.net to verify when this issue occured/was fixed.
Replying to anonymous:
never mind, looks like it's fixed in 1.4.4
Closing as requested by the reporter.
never mind, looks like it's fixed in 1.4.4