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}
|
* @returns {void}
|
||||||
*/
|
*/
|
||||||
positionEditShortcut: function( placement, $editShortcut ) {
|
positionEditShortcut: function( placement, $editShortcut ) {
|
||||||
var partial = this, $placementContainer;
|
var $placementContainer = $( placement.container );
|
||||||
$placementContainer = $( placement.container );
|
|
||||||
$placementContainer.prepend( $editShortcut );
|
$placementContainer.prepend( $editShortcut );
|
||||||
if ( ! $placementContainer.is( ':visible' ) || 'none' === $placementContainer.css( 'display' ) ) {
|
if ( ! $placementContainer.is( ':visible' ) || 'none' === $placementContainer.css( 'display' ) ) {
|
||||||
$editShortcut.addClass( 'customize-partial-edit-shortcut-hidden' );
|
$editShortcut.addClass( 'customize-partial-edit-shortcut-hidden' );
|
||||||
|
Loading…
Reference in New Issue
Block a user