forked from OpenNeo/impress
Emi Matchu
95ff69ee9a
The motivation is that I'm about to change one of them to remove a reference to an old placeholder library, so I want that change to be clear!
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);
|
|
})();
|