From 47ecbbab8d20ce8974ee6556288552c212a96b57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Sat, 9 Dec 2017 21:47:59 +0100 Subject: [PATCH] build: fix for tslint --- public/app/features/panel/panel_directive.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/public/app/features/panel/panel_directive.ts b/public/app/features/panel/panel_directive.ts index d5b4bafa1ae..626e7c151e9 100644 --- a/public/app/features/panel/panel_directive.ts +++ b/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