// Fix JS event
This commit is contained in:
@@ -40,7 +40,8 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
// Make sure the checkbox is checked/unchecked when the link is clicked
|
// Make sure the checkbox is checked/unchecked when the link is clicked
|
||||||
$('#toggle_category_tree').bind('click', function(){
|
$('#toggle_category_tree').bind('click', function(event){
|
||||||
|
event.preventDefault();
|
||||||
$('#block_category_tree').toggle();
|
$('#block_category_tree').toggle();
|
||||||
if ($('#block_category_tree').is(':visible'))
|
if ($('#block_category_tree').is(':visible'))
|
||||||
$(this).find('input').attr('checked', 'checked');
|
$(this).find('input').attr('checked', 'checked');
|
||||||
|
|||||||
Reference in New Issue
Block a user