Customize: Remove unused JS variables to fix JSHint.

Amends [41649].
See #37661, #39896.


git-svn-id: https://develop.svn.wordpress.org/trunk@41650 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Weston Ruter 2017-09-29 22:03:15 +00:00
parent d2540cfa06
commit 743494b654
1 changed files with 1 additions and 4 deletions

View File

@ -1910,8 +1910,7 @@
section = this, section = this,
noFilter = ( undefined !== api.section( 'wporg_themes' ) && 'wporg' !== section.params.action ) ? '.no-themes-local' : '.no-themes', noFilter = ( undefined !== api.section( 'wporg_themes' ) && 'wporg' !== section.params.action ) ? '.no-themes-local' : '.no-themes',
term = el.value.toLowerCase().trim().replace( '-', ' ' ), term = el.value.toLowerCase().trim().replace( '-', ' ' ),
controls = section.controls(), controls = section.controls();
renderScreenshots;
if ( section.loading ) { if ( section.loading ) {
return; return;
@ -7855,8 +7854,6 @@
} ); } );
publishWhenTime = function() { publishWhenTime = function() {
var publishSettingsSection;
api.state( 'selectedChangesetStatus' ).set( 'publish' ); api.state( 'selectedChangesetStatus' ).set( 'publish' );
api.previewer.save(); api.previewer.save();
}; };