Make WordPress Core

Changeset 21205


Ignore:
Timestamp:
07/04/2012 05:58:28 AM (12 years ago)
Author:
markjaquith
Message:

Change a jQuery selector to work around a change in jQuery 1.7.2 related to some class names containing colons. props SergeyBiryukov. fixes #21106 for trunk. see #21152

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/js/wp-lists.dev.js

    r17981 r21205  
    7979            return false;
    8080
    81         if ( !e.is('[class^="add:' + list.id + ':"]') )
     81        if ( !e.is('[id="' + s.what + '-add-submit"]') )
    8282            return !wpList.add.call( list, e, s );
    8383
Note: See TracChangeset for help on using the changeset viewer.