Skip to content

Commit ebae174

Browse files
committed
Remove unused offset variable from graph tooltip
1 parent c0dabbc commit ebae174

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

assets/js/dashboard/stats/graph/graph-tooltip.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,6 @@ let tooltipRoot
103103
export default function GraphTooltip(graphData, metric, query, theme) {
104104
return (context) => {
105105
const tooltipModel = context.tooltip
106-
const offset = document
107-
.getElementById('main-graph-canvas')
108-
.getBoundingClientRect()
109106
let tooltipEl = document.getElementById('chartjs-tooltip-main')
110107

111108
if (!tooltipEl) {

0 commit comments

Comments
 (0)