hjg
2023-11-22 975c04c0181b3da82a79cb04abe6a2f1799eb363
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
var Tasks = function () {
 
 
    return {
 
        //main function to initiate the module
        initDashboardWidget: function () {
            $('input.liChild').change(function() {
                if ($(this).is(':checked')) { 
                    $(this).parents('li').addClass("task-done"); 
                } else { 
                    $(this).parents('li').removeClass("task-done"); 
                }
            }); 
        }
 
    };
 
}();