/** * File customizer-controls.js * * The file for generic customizer controls. * * @package bigbang */ jQuery( document ).ready( function () { 'use strict'; wp.customize( 'bigbang_team_content', function ( value ) { value.bind( function () { var authors_values; var result = ''; if ( jQuery.isFunction( wp.customize._value.bigbang_authors_on_blog ) ) { authors_values = wp.customize._value.bigbang_authors_on_blog(); } jQuery( '#customize-control-bigbang_team_content .customizer-repeater-general-control-repeater-container' ).each( function () { var title = jQuery( this ).find( '.customizer-repeater-title-control' ).val(); var id = jQuery( this ).find( '.social-repeater-box-id' ).val(); if ( typeof (title) !== 'undefined' && title !== '' && typeof (id) !== 'undefined' && id !== '' ) { result += '