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
This commit is contained in:
Sergey Biryukov 2014-10-26 12:05:58 +00:00
parent f1c05021aa
commit 79a5303f68
1 changed files with 3 additions and 2 deletions

View File

@ -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 ) {