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: https://develop.svn.wordpress.org/trunk@23278 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
a8ce189639
commit
9de9019d41
@ -165,9 +165,11 @@ tagBox = {
|
|||||||
|
|
||||||
// tag cloud
|
// tag cloud
|
||||||
$('a.tagcloud-link').click(function(){
|
$('a.tagcloud-link').click(function(){
|
||||||
if ( ! $('.the-tagcloud').length )
|
tagBox.get( $(this).attr('id') );
|
||||||
tagBox.get( $(this).attr('id') );
|
$(this).unbind().click(function(){
|
||||||
$(this).siblings('.the-tagcloud').toggle();
|
$(this).siblings('.the-tagcloud').toggle();
|
||||||
|
return false;
|
||||||
|
});
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user