collapsible.js: Only handle content inside top-level or modal containers

This commit is contained in:
Johannes Meyer 2022-02-07 14:13:12 +01:00
parent f932a4a44c
commit 29d0b8f2c7
1 changed files with 1 additions and 1 deletions

View File

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