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: http://core.svn.wordpress.org/trunk@21205 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
markjaquith 2012-07-04 05:58:28 +00:00
parent a9ee3b61f5
commit 28af5a0be7
1 changed files with 1 additions and 1 deletions

View File

@ -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 )