mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
collapsible.js: Listen for rendered events on all containers
not just #col2
This commit is contained in:
parent
0574f44bd9
commit
0ed030410f
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user