WordPress.org

Make WordPress Core

Ticket #12186: bgrepeat_preview_broken.patch

File bgrepeat_preview_broken.patch, 573 bytes (added by ocean90, 11 years ago)

The preview of background repeat is broken, because we use now radio buttons.

  • wp-admin/js/custom-background.dev.js

     
    2727                jQuery('#custom-background-image').css('background-position', jQuery(this).val() + ' top');
    2828        });
    2929
    30         jQuery('select[name="background-repeat"]').change(function() {
     30        jQuery('input[name="background-repeat"]').change(function() {
    3131                jQuery('#custom-background-image').css('background-repeat', jQuery(this).val());
    3232        });
    3333