From 79a5303f68282d2869b5bf7d5a3814cd07d48f52 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 26 Oct 2014 12:05:58 +0000 Subject: [PATCH] Fix JSHint errors introduced in [30014]. props adamsilverstein. see #29572. git-svn-id: https://develop.svn.wordpress.org/trunk@30024 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/js/customize-controls.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/wp-admin/js/customize-controls.js b/src/wp-admin/js/customize-controls.js index 812f4fac4f..363e965745 100644 --- a/src/wp-admin/js/customize-controls.js +++ b/src/wp-admin/js/customize-controls.js @@ -161,8 +161,9 @@ */ renderContent: function( callback ) { var template, - selector = 'customize-control-' + this.params.type + '-content', - callback = callback || function(){}; + selector = 'customize-control-' + this.params.type + '-content'; + + callback = callback || function(){}; if ( 0 !== $( '#tmpl-' + selector ).length ) { template = wp.template( selector ); if ( template && this.container ) {