blob: 680c6b85e1fa21279343c6d0b995aa43cc4fbd95 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
{footer_script require='jquery'}{literal}
jQuery(document).ready(function(){
jQuery(".tagSelection label").click(function () {
var parent = jQuery(this).parent('li');
var checkbox = jQuery(this).children("input[type=checkbox]");
if (jQuery(checkbox).is(':checked')) {
jQuery(parent).addClass("tagSelected");
}
else {
jQuery(parent).removeClass('tagSelected');
}
});
});
{/literal}{/footer_script}
|