Make WordPress Core

Ticket #19853: 19853.delegateDetails.diff

File 19853.delegateDetails.diff, 461 bytes (added by kirasong, 12 years ago)

Patch to delegate calls for "details" clicks

  • wp-admin/js/theme-preview.dev.js

     
    5555        } );
    5656
    5757        // Theme details
    58         $('.theme-detail').click(function () {
     58        $('#availablethemes').on( 'click', 'a.theme-detail', function (event) {
    5959                $(this).siblings('.themedetaildiv').toggle();
    6060                return false;
    61         });
     61        } );
    6262
    6363});