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:
Gary Pendergast 2016-10-27 00:30:11 +00:00
parent d039c9b4b2
commit 3e77cef88a
1 changed files with 1 additions and 2 deletions

View File

@ -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' );