forked from OpenNeo/impress
8 lines
209 B
JavaScript
8 lines
209 B
JavaScript
(function () {
|
|
function setChecked() {
|
|
var el = $(this);
|
|
el.closest('li').toggleClass('checked', el.is(':checked'));
|
|
}
|
|
|
|
$('#petpage-closet-lists input').click(setChecked).each(setChecked);
|
|
})();
|