collapsible.js: Don't process collapsible containers multiple times

This commit is contained in:
Johannes Meyer 2019-06-28 10:49:14 +02:00
parent fc782b59a9
commit a99f653a63
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@
Collapsible.prototype.onRendered = function(event) {
var _this = event.data.self;
$('.collapsible', event.currentTarget).each(function() {
$('.collapsible:not(.can-collapse)', event.currentTarget).each(function() {
var $collapsible = $(this);
var collapsiblePath = _this.icinga.utils.getCSSPath($collapsible);