Modify a few jQuery selectors to prevent overflows and lagging. Todo, rewrite wp-lists and improve all of these selectors.
props SergeyBiryukov. fixes #21106 for trunk. see #21152. git-svn-id: http://core.svn.wordpress.org/trunk@21737 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -397,7 +397,7 @@ wpList = {
|
||||
return list.wpList.add(this);
|
||||
});
|
||||
|
||||
$el.delegate( '[class^="add:' + list.id + ':"]:not(form)', 'click', function(){
|
||||
$el.delegate( 'a[class^="add:' + list.id + ':"], input[class^="add:' + list.id + ':"]', 'click', function(){
|
||||
return list.wpList.add(this);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user