Przeglądaj źródła

build: fix for tslint

Torkel Ödegaard 8 lat temu
rodzic
commit
47ecbbab8d
1 zmienionych plików z 0 dodań i 2 usunięć
  1. 0 2
      public/app/features/panel/panel_directive.ts

+ 0 - 2
public/app/features/panel/panel_directive.ts

@@ -73,7 +73,6 @@ module.directive('grafanaPanel', function($rootScope, $document, $timeout) {
       var lastHasAlertRule = false;
       var lastAlertState;
       var hasAlertRule;
-      var lastHeight = 0;
 
       function mouseEnter() {
         panelContainer.toggleClass('panel-hover-highlight', true);
@@ -90,7 +89,6 @@ module.directive('grafanaPanel', function($rootScope, $document, $timeout) {
         if (panelScrollbar) {
           panelScrollbar.update();
         }
-        lastHeight = ctrl.height;
       }
 
       // set initial transparency