From 3e77cef88ad50736fc51a76cf5c5eb0b48fd5eb7 Mon Sep 17 00:00:00 2001 From: Gary Pendergast Date: Thu, 27 Oct 2016 00:30:11 +0000 Subject: [PATCH] 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 --- src/wp-includes/js/customize-selective-refresh.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/wp-includes/js/customize-selective-refresh.js b/src/wp-includes/js/customize-selective-refresh.js index e6532136fe..a09965e996 100644 --- a/src/wp-includes/js/customize-selective-refresh.js +++ b/src/wp-includes/js/customize-selective-refresh.js @@ -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' );