mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-27 01:38:35 +00:00
Taxonomy postbox: fix toggling with "Choose from the most used tags" when several postboxes are shown, props SergeyBiryukov, fixes #23112 for 3.5
git-svn-id: http://core.svn.wordpress.org/branches/3.5@23277 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
676f52118b
commit
a9c5d6d162
@ -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…
x
Reference in New Issue
Block a user