js: listen on the label (#49185)
This commit is contained in:
parent
37ad37270d
commit
216e53061a
|
@ -1,7 +1,7 @@
|
|||
(function () {
|
||||
$(function () { /* foldable sections */
|
||||
$('div#div_id_extra_senders.foldable').on('click', function() {
|
||||
$(this).children('div.selector').toggleClass('folded');
|
||||
$('div#div_id_extra_senders.foldable label').on('click', function() {
|
||||
$(this).parent().children('div.selector').toggleClass('folded');
|
||||
});
|
||||
});
|
||||
})();
|
||||
|
|
Loading…
Reference in New Issue