Bug Tracker

Changeset 2232

Show
Ignore:
Timestamp:
07/04/07 16:10:26 (1 year ago)
Author:
jeresig
Message:

Fixed bug that prevented $= from working on elements that didn't have the specified attribute.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/jquery/src/selector/selector.js

    r2191 r2232  
    341341                     
    342342                    if ( z == null || /href|src/.test(m[2]) ) 
    343                         z = jQuery.attr(a,m[2]); 
     343                        z = jQuery.attr(a,m[2]) || ''; 
    344344 
    345345                    if ( (type == "" && !!z ||