From 0ed030410f038a2fe4928db513bda9da4b7a25fb Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Thu, 6 Jun 2019 14:52:58 +0200 Subject: [PATCH] collapsible.js: Listen for rendered events on all containers not just #col2 --- 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 243b3684b..4870ee501 100644 --- a/public/js/icinga/behavior/collapsible.js +++ b/public/js/icinga/behavior/collapsible.js @@ -14,7 +14,7 @@ var Collapsible = function (icinga) { Icinga.EventListener.call(this, icinga); - this.on('rendered', '#col2', this.onRendered, this); + this.on('rendered', '.container', this.onRendered, this); this.on('click', '.collapsible + .collapsible-control', this.onControlClicked, this); this.icinga = icinga;