From 83d6a258ec9d7249b915054213a3a43b768752fd Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Fri, 6 Dec 2019 13:12:54 +0100 Subject: [PATCH] application-state.js: Remove redundant rendered callback --- public/js/icinga/behavior/application-state.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/public/js/icinga/behavior/application-state.js b/public/js/icinga/behavior/application-state.js index 4e4a1cd90..7cd655b44 100644 --- a/public/js/icinga/behavior/application-state.js +++ b/public/js/icinga/behavior/application-state.js @@ -10,7 +10,6 @@ var ApplicationState = function (icinga) { Icinga.EventListener.call(this, icinga); this.on('rendered', this.onRendered, this); - this.on('rendered', '#application-state-summary', this.onSummaryRendered, this); this.icinga = icinga; }; @@ -32,10 +31,6 @@ } }; - ApplicationState.prototype.onSummaryRendered = function(e) { - var height = $(this).height(); - }; - Icinga.Behaviors.ApplicationState = ApplicationState; })(Icinga, jQuery);