Browse Source

build: fix for tslint

Torkel Ödegaard 8 năm trước cách đây
mục cha
commit
47ecbbab8d
1 tập tin đã thay đổi với 0 bổ sung2 xóa
  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