Browse
For agents
About
Reset Customizer
/
trunk
Reset Customizer
vtrunk
Switch version
trunk
1.0.0
1.0.1
1.0.2
1.0.3
1.0.4
1.0.5
1.0.6
1.0.7
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.1.7
Overview
Code
reset-customizer
/
includes
/
customize-controls.js
customize-controls.js
in Reset Customizer trunk, at includes/customize-controls.js
21 lines
568 B
Find file
t
No matching file
Up and down to move
Enter to open
Esc to close
Raw
Download
Zip
View raw
1
/*
2
* Version: 1.0.1
3
*/
4
5
6
7
(
function
(
$
)
{
8
9
$
(
document
)
.
ready
(
function
(
)
{
10
$
(
'
.customize-control-webd-checkbox-multiple input[type="checkbox"]
'
)
.
on
(
'
change
'
,
function
(
)
{
11
checkbox_values
=
jQuery
(
this
)
.
parents
(
'
.customize-control
'
)
.
find
(
'
input[type="checkbox"]:checked
'
)
.
map
(
12
function
(
)
{
13
return
this
.
value
;
14
}
15
)
.
get
(
)
.
join
(
'
,
'
)
;
16
$
(
this
)
.
parents
(
'
.customize-control
'
)
.
find
(
'
input[type="hidden"]
'
)
.
val
(
checkbox_values
)
.
trigger
(
'
change
'
)
;
17
}
)
;
18
}
)
;
19
20
}
)
(
jQuery
)
;
21