From 96504940a8ae3d04e90746fa33bb183d8cab6804 Mon Sep 17 00:00:00 2001 From: Tony Dong Date: Tue, 6 Mar 2018 01:36:06 -0800 Subject: [PATCH] fix typo in heatmap rendering.ts (#11101) --- public/app/plugins/panel/heatmap/rendering.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/app/plugins/panel/heatmap/rendering.ts b/public/app/plugins/panel/heatmap/rendering.ts index 90dac42dc8d..0977279809a 100644 --- a/public/app/plugins/panel/heatmap/rendering.ts +++ b/public/app/plugins/panel/heatmap/rendering.ts @@ -649,13 +649,13 @@ export default function link(scope, elem, attrs, ctrl) { selection.x2 = limitSelection(event.offsetX); drawSelection(selection.x1, selection.x2); } else { - emitGraphHoverEvet(event); + emitGraphHoverEvent(event); drawCrosshair(event.offsetX); tooltip.show(event, data); } } - function emitGraphHoverEvet(event) { + function emitGraphHoverEvent(event) { let x = xScale.invert(event.offsetX - yAxisWidth).valueOf(); let y = yScale.invert(event.offsetY); let pos = {