collapsible.js: Enhance markup flexibility

(cherry picked from commit f13161b69d7a5d610754b52d03e803fa437dd946)
This commit is contained in:
Florian Strohmaier 2022-10-05 15:33:07 +02:00 committed by Johannes Meyer
parent 7d79a490aa
commit dfb263e7a4

View File

@ -17,7 +17,7 @@
this.on('layout-change', this.onLayoutChange, this);
this.on('rendered', '#main > .container, #modal-content', this.onRendered, this);
this.on('click', '.collapsible + .collapsible-control, .collapsible > .collapsible-control',
this.on('click', '.collapsible + .collapsible-control, .collapsible .collapsible-control',
this.onControlClicked, this);
this.icinga = icinga;