Permalink
Browse files

Change a jQuery selector to work around a change in jQuery 1.7.2 rela…

…ted 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
  • Loading branch information...
1 parent 9bc026c commit 720ec400d86e4bfd8f217c8b064e1cbb80f22310 markjaquith committed Jul 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 wp-includes/js/wp-lists.dev.js
@@ -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 )

0 comments on commit 720ec40

Please sign in to comment.