WordPress.org

Make WordPress Core

Changeset 38742


Ignore:
Timestamp:
10/06/16 20:16:19 (10 months ago)
Author:
westonruter
Message:

Customize: Add workaround for Safari bug causing preview frame to be unscrollable via mousewheel after a refresh.

Props westonruter, tristangemus.
Fixes #38149.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/js/customize-controls.js

    r38648 r38742  
    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; 
Note: See TracChangeset for help on using the changeset viewer.