Skip to main content

Bug Tracker

Side navigation

#7745 closed bug (wontfix)

Opened December 10, 2010 08:42AM UTC

Closed December 10, 2010 05:29PM UTC

FireFox: Warning: Unknown pseudo-class or pseudo-element 'eq'.

Reported by: jquery@cousinisaac.com Owned by:
Priority: undecided Milestone: 1.6
Component: unfiled Version: 1.4.4
Keywords: Cc:
Blocked by: Blocking:
Description

Not sure if this is a bug or what since I'm a noob but Firefox 3.6.12 on Mac and XP is complaining on the attributeEquals selector :eq. My code could be to blame :

 // turn button to on-state and make un-mousable if in section  

var level2= 1;

if(level2!=0){	
    $('.nav li:eq('+(level2-1) +')')
        .css({height:44})
        .children()
        .children()
        .css({ width:310,height:33, fontSize:"11px", marginLeft:-25, textIndent: 10 }); 

    // makes current subsection unmouseable 
    $('.nav li:eq('+(level2-1)+') a').unbind();
}
Attachments (0)
Change History (1)

Changed December 10, 2010 05:29PM UTC by jitter comment:1

description: Not sure if this is a bug or what since I'm a noob but Firefox 3.6.12 on Mac and XP is complaining on the attributeEquals selector :eq. My code could be to blame : \ \ // turn button to on-state and make un-mousable if in section \ \ var level2= 1; \ \ if(level2!=0){ \ $('.nav li:eq('+(level2-1) +')').css({height:44}).children().children().css({ width:310,height:33, fontSize:"11px", marginLeft:-25, textIndent: 10 }); \ \ // makes current subsection unmouseable \ $('.nav li:eq('+(level2-1)+') a').unbind(); \ \ }Not sure if this is a bug or what since I'm a noob but Firefox 3.6.12 on Mac and XP is complaining on the attributeEquals selector :eq. My code could be to blame : \ {{{ \ // turn button to on-state and make un-mousable if in section \ \ var level2= 1; \ \ if(level2!=0){ \ $('.nav li:eq('+(level2-1) +')') \ .css({height:44}) \ .children() \ .children() \ .css({ width:310,height:33, fontSize:"11px", marginLeft:-25, textIndent: 10 }); \ \ // makes current subsection unmouseable \ $('.nav li:eq('+(level2-1)+') a').unbind(); \ } \ }}}
resolution: → wontfix
status: newclosed

Thanks for taking the time to contribute to the jQuery project by writing a bug report but this isn't a bug.

FF just displays a warning not an error. This warning can be safely ignored.

There are many similar tickets on the bug tracker related to this misunderstanding.