Make WordPress Core

Ticket #23112: 23112.patch

File 23112.patch, 569 bytes (added by SergeyBiryukov, 13 years ago)
  • wp-admin/js/post.js

     
    165165
    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                });
    173175        }