Skip to content

Commit

Permalink
fix: style (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
soryxie authored Apr 24, 2024
1 parent 180db8b commit f876a0e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion repoqa.html
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ <h3 class="text-nowrap mt-5">🏆 Benchmark @ 16K Code Context</h3>
if (points[i][1] == 0 && y > 0) {
chartPoints.push([points[i][0], y]);
y = 0;
chartPoints.push([points[i][0] + 1, y]);
chartPoints.push([points[i][0], y]);
}
if (i > 0) {
visualMapPieces.push({
Expand Down Expand Up @@ -532,6 +532,10 @@ <h3 class="text-nowrap mt-5">🏆 Benchmark @ 16K Code Context</h3>
scoreThresh = (sliderValue / 10).toFixed(1);
main();
});
slider.addEventListener("input", function () {
var sliderValue = this.value;
output.textContent = (sliderValue / 10).toFixed(1);
});
});
</script>
</body>
Expand Down

0 comments on commit f876a0e

Please sign in to comment.