blob: 2dd09df86528aced6546f12fca47d48b5be7efdb (
plain) (
blame)
1
|
!function(c){var e=wp.customize;ASTCustomizer={controls:{},init:function(){ASTCustomizer._initToggles()},_initToggles:function(){ASTControlTrigger.triggerHook("astra-toggle-control",e),c.each(ASTCustomizerToggles,function(t,n){e(t,function(i){c.each(n,function(t,o){c.each(o.controls,function(t,n){e.control(n,function(n){function t(t){n.container.toggle(o.callback(t))}t(i.get()),i.bind(t)})})})})})}},c(function(){ASTCustomizer.init()})}(jQuery),function(t){t.sectionConstructor["astra-pro"]=t.Section.extend({attachEvents:function(){},isContextuallyActive:function(){return!0}})}(wp.customize);
|