Skip to content

Commit 0e98ffd

Browse files
committed
Enable arrow-key navigation on the ractor page
The page already uses setupBenchmarkNavigation; just opt into its keyboard navigation like the other benchmark graph pages.
1 parent 589fc94 commit 0e98ffd

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎source/benchmarks/ractor.html.haml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,8 @@
322322
// Setup navigation
323323
var navigation = RubyBench.setupBenchmarkNavigation({
324324
activateChart: activateChart,
325-
defaultBenchmark: $('.benchmark_graph').first()
325+
defaultBenchmark: $('.benchmark_graph').first(),
326+
enableKeyboardNavigation: true
326327
});
327328

328329
// Render it on checkbox change

0 commit comments

Comments
 (0)