Browse Source

fix typo in heatmap rendering.ts (#11101)

Tony Dong 7 năm trước cách đây
mục cha
commit
96504940a8
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      public/app/plugins/panel/heatmap/rendering.ts

+ 2 - 2
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 = {