Taxonomy postbox: fix toggling with "Choose from the most used tags" when several postboxes are shown, props SergeyBiryukov, fixes #23112 for trunk
git-svn-id: http://core.svn.wordpress.org/trunk@23278 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
381b7246f9
commit
cc834e52bf
|
@ -165,11 +165,13 @@ tagBox = {
|
|||
|
||||
// tag cloud
|
||||
$('a.tagcloud-link').click(function(){
|
||||
if ( ! $('.the-tagcloud').length )
|
||||
tagBox.get( $(this).attr('id') );
|
||||
$(this).unbind().click(function(){
|
||||
$(this).siblings('.the-tagcloud').toggle();
|
||||
return false;
|
||||
});
|
||||
return false;
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue