Customize: Remove an unused variable.
The cleanup in [38972] missed a variable that is no longer being used. Fixes #27403. git-svn-id: https://develop.svn.wordpress.org/trunk@38973 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
d039c9b4b2
commit
3e77cef88a
@ -138,8 +138,7 @@ wp.customize.selectiveRefresh = ( function( $, api ) {
|
||||
* @returns {void}
|
||||
*/
|
||||
positionEditShortcut: function( placement, $editShortcut ) {
|
||||
var partial = this, $placementContainer;
|
||||
$placementContainer = $( placement.container );
|
||||
var $placementContainer = $( placement.container );
|
||||
$placementContainer.prepend( $editShortcut );
|
||||
if ( ! $placementContainer.is( ':visible' ) || 'none' === $placementContainer.css( 'display' ) ) {
|
||||
$editShortcut.addClass( 'customize-partial-edit-shortcut-hidden' );
|
||||
|
Loading…
Reference in New Issue
Block a user