Skip to content

Commit 58d031b

Browse files
committed
Fix charts scroll bug
1 parent db59dc2 commit 58d031b

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/modules/plots.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,4 @@ export function makePlots(flightlog, element, useImperialUnits) {
264264
el = document.createElement("div")
265265
element.append(el)
266266
makePlot(flightlog.voltageInfo, el, "Battery Voltage", "Voltage [V]", ["voltage"], eventInfo)
267-
268-
// restore scroll position
269-
element.scrollTop = scrollTop;
270267
}

0 commit comments

Comments
 (0)