Submit
Path:
~
/
home
/
getwphos
/
public_html
/
almajd
/
wp-content
/
themes
/
modarch
/
assets
/
js
/
File Content:
customizer.js
(function($, api) { "use strict"; var depend_controls = { 'page_preloader' : { controls: { 'page_preloader_type': { callback: function( to ) { return !!to; } }, 'page_preloader_custom': { callback: function( to ) { return !!to && ('custom' === api('page_preloader_type').get()); } } } }, 'page_preloader_type' : { controls: { 'page_preloader_custom': { callback: function( to ) { return 'custom' === to; } } } }, 'catalog_mode' : { controls: { 'catalog_mode_price': { callback: function( to ) { return !!to; } } } }, 'freeshipping_thresholds' : { controls: { 'thresholds_text1': { callback: function( to ) { return !!to; } }, 'thresholds_text2': { callback: function( to ) { return !!to; } } } } } // Control visibility for default controls. $.each( depend_controls , function( settingId, o ) { api( settingId, function( setting ) { $.each( o.controls, function( controlId, conditions ) { api.control( controlId, function( control ) { var visibility = function( to ) { control.container.toggle( conditions.callback( to ) ); }; visibility( setting.get() ); setting['bind']( visibility ); }); }); }); }); })(jQuery, wp.customize);
Submit
FILE
FOLDER
Name
Size
Permission
Action
lib
---
0755
app.js
75168 bytes
0644
app.min.js
38527 bytes
0644
customizer.js
2067 bytes
0644
customizer.min.js
740 bytes
0644
N4ST4R_ID | Naxtarrr