From f13161b69d7a5d610754b52d03e803fa437dd946 Mon Sep 17 00:00:00 2001 From: Florian Strohmaier Date: Wed, 5 Oct 2022 15:33:07 +0200 Subject: [PATCH] collapsible.js: Enhance markup flexibility --- public/js/icinga/behavior/collapsible.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/icinga/behavior/collapsible.js b/public/js/icinga/behavior/collapsible.js index b70a12932..8095a24c2 100644 --- a/public/js/icinga/behavior/collapsible.js +++ b/public/js/icinga/behavior/collapsible.js @@ -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;