Bug Tracker

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#13246 closed bug (notabug)

bad working filter

Reported by: punkundead@… Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.9.0
Keywords: Cc:
Blocked by: Blocking:


.filter('.colorbox') //empty collection

create incorrect widget


jQuery('a.colorbox') //empty collection

nothing create


Change History (3)

comment:1 Changed 9 years ago by dmethvin

Resolution: notabug
Status: newclosed

Can you provide a test case on jsfiddle.net?

comment:3 Changed 9 years ago by dmethvin

I suspect this line in the plugin is causing the problem:

if ($this.selector) { // if a selector was given and it didn't match any elements, go ahead and exit.

The .selector property was never documented or public, and the logic there may be making incorrect assumptions. There are also several uses of undocumented jQuery.support properties that may have changed, it's trying to divine whether the browser is IE or not.

The plugin author will need to revise the plugin for it to work with 1.9.

Note: See TracTickets for help on using tickets.