Make WordPress Core

Changeset 23277


Ignore:
Timestamp:
01/04/2013 08:53:17 PM (14 years ago)
Author:
azaozz
Message:

Taxonomy postbox: fix toggling with "Choose from the most used tags" when several postboxes are shown, props SergeyBiryukov, fixes #23112 for 3.5

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.5/wp-admin/js/post.js

    r23016 r23277  
    166166                // tag cloud
    167167                $('a.tagcloud-link').click(function(){
    168                         if ( ! $('.the-tagcloud').length )
    169                                 tagBox.get( $(this).attr('id') );
    170                         $(this).siblings('.the-tagcloud').toggle();
     168                        tagBox.get( $(this).attr('id') );
     169                        $(this).unbind().click(function(){
     170                                $(this).siblings('.the-tagcloud').toggle();
     171                                return false;
     172                        });
    171173                        return false;
    172174                });
Note: See TracChangeset for help on using the changeset viewer.