misc: make click on cell picture (un)fold cell (#32357)
This commit is contained in:
parent
0082f40716
commit
28d1d6ed8a
|
@ -209,7 +209,7 @@ $(function() {
|
|||
$(checkboxes[checkboxes.length-1]).parents('tr').next().find('td:nth-child(' + (column_index+1) + ')').addClass('clickable');
|
||||
}
|
||||
|
||||
$('body').on('click', 'div.cell.foldable > div > h2:first-child', function() {
|
||||
$('body').on('click', 'div.cell.foldable > div > h2:first-child, div.cell.foldable > div > picture', function() {
|
||||
$(this).parents('div.foldable').toggleClass('folded');
|
||||
return false;
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue