Make WordPress Core

Ticket #38149: 38149.2.diff

File 38149.2.diff, 612 bytes (added by westonruter, 8 years ago)
  • src/wp-admin/js/customize-controls.js

    diff --git src/wp-admin/js/customize-controls.js src/wp-admin/js/customize-controls.js
    index d5f2e4e..4410593 100644
     
    31053105
    31063106                                // Create the iframe and inject the html content.
    31073107                                self.iframe = $( '<iframe />', { 'title': api.l10n.previewIframeTitle } ).appendTo( self.container );
     3108                                self.iframe.attr( 'onmousewheel', '' ); // Workaround for Safari bug. See WP Trac #38149.
    31083109
    31093110                                // Bind load event after the iframe has been added to the page;
    31103111                                // otherwise it will fire when injected into the DOM.