@@ -70,7 +70,7 @@ async function loadGraphData(selector: GraphsSelector, loading: Ref<boolean>) {
7070
7171 // If we select a smaller subset of benchmarks, then just show them.
7272 if (hasSpecificSelection (selector )) {
73- renderPlots (graphData , selector , " # charts" );
73+ renderPlots (graphData , selector , document . getElementById ( " charts" ) );
7474 } else {
7575 // If we select all of them, we expect that there will be a regular grid.
7676
@@ -81,15 +81,15 @@ async function loadGraphData(selector: GraphsSelector, loading: Ref<boolean>) {
8181 graphData ,
8282 (benchName ) => ! benchName .endsWith (" -tiny" )
8383 );
84- renderPlots (withoutTiny , selector , " # charts" );
84+ renderPlots (withoutTiny , selector , document . getElementById ( " charts" ) );
8585
8686 // Then, render only the size-related ones in their own dedicated section as they are less
8787 // important than having the better grouping. So, we only include the benchmarks ending in
8888 // "-tiny" and render them in the appropriate section.
8989 const onlyTiny = filterBenchmarks (graphData , (benchName ) =>
9090 benchName .endsWith (" -tiny" )
9191 );
92- renderPlots (onlyTiny , selector , " # size-charts" );
92+ renderPlots (onlyTiny , selector , document . getElementById ( " size-charts" ) );
9393 }
9494}
9595
0 commit comments