hello
Server : Apache System : Linux webm006.cluster103.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64 User : chryzalihi ( 621211) PHP Version : 8.3.31 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl Directory : /home/chryzalihi/www/wp-content/languages/themes/the/ |
chryzalihi/www/wp-content/themes/bloglo/inc/customizer/controls/checkbox-group/checkbox-group.js 0000644 00000001541 15242604252 0030271 0 ustar 00 home (function ($) {
"use strict";
wp.customize.controlConstructor["bloglo-checkbox-group"] =
wp.customize.Control.extend({
ready: function () {
"use strict";
var control = this,
setting = control.setting.get();
control.container.on("click", 'input[type="checkbox"]', function () {
control.save();
});
},
/**
* Store value for range control.
*
* @since 1.0.0
*
* @access private
*
* @returns {void}
*/
save: function () {
var value = [];
this.container
.find('input[type="checkbox"]')
.each(function (index, el) {
if ($(el).is(":checked")) {
value.push($(el).data("id"));
}
});
this.setting.set(value);
},
});
})(jQuery);