Make WordPress Core

Changeset 35251


Ignore:
Timestamp:
10/17/2015 10:40:10 PM (11 years ago)
Author:
westonruter
Message:

Customizer: Fix margin-top calculation for Themes section.

Ensure that the Themes section calculates its margin-top as a panel, since the section behaves as one. Fixes regression caused by [35231].

See #33567.

File:
1 edited

Legend:

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

    r35231 r35251  
    974974                                container.scrollTop( 0 );
    975975                        }
     976                },
     977
     978                /**
     979                 * Recalculate the top margin.
     980                 *
     981                 * @since 4.4.0
     982                 * @private
     983                 */
     984                _recalculateTopMargin: function() {
     985                        api.Panel.prototype._recalculateTopMargin.call( this );
    976986                },
    977987
Note: See TracChangeset for help on using the changeset viewer.