2012-04-08 13:59:51 -07:00
|
|
|
(function () {
|
2024-09-09 16:10:45 -07:00
|
|
|
function setChecked() {
|
|
|
|
var el = $(this);
|
|
|
|
el.closest("li").toggleClass("checked", el.is(":checked"));
|
|
|
|
}
|
2012-04-08 13:59:51 -07:00
|
|
|
|
2024-09-09 16:10:45 -07:00
|
|
|
$("#petpage-closet-lists input").click(setChecked).each(setChecked);
|
2012-04-08 13:59:51 -07:00
|
|
|
})();
|