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
git-svn-id: https://develop.svn.wordpress.org/trunk@21205 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
6ef3ff3062
commit
20813bcbe2
@ -78,7 +78,7 @@ wpList = {
|
||||
if ( !s )
|
||||
return false;
|
||||
|
||||
if ( !e.is('[class^="add:' + list.id + ':"]') )
|
||||
if ( !e.is('[id="' + s.what + '-add-submit"]') )
|
||||
return !wpList.add.call( list, e, s );
|
||||
|
||||
if ( !s.element )
|
||||
|
Loading…
Reference in New Issue
Block a user