felixarntz/wp-site-identity

View on GitHub
assets/dist/js/customize-controls.min.js

Summary

Maintainability
A
0 mins
Test Coverage
/*!
 * WP Site Identity (https://github.com/felixarntz/wp-site-identity)
 * By Felix Arntz (https://leaves-and-love.net)
 * Licensed under GNU General Public License v3 (http://www.gnu.org/licenses/gpl-3.0.html)
 */
!function(n){wp.customize.bind("ready",function(){wp.customize("wpsi_owner_data[type]",function(e){function t(e){var t,i,o=n.typeDependencies[e];o&&(t=Object.keys(o),t.forEach(function(n){i=wp.customize.control("wpsi_owner_data["+n+"]"),i&&(o[n]?i.container.slideDown(180):i.container.slideUp(180))}))}t(e.get()),e.bind(function(){t(e.get())})})})}(wpsiCustomizeControls);