mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-12 15:45:00 +00:00
fix: Correct table selector for refactoring leaderboard search
This commit is contained in:
parent
8e10be665c
commit
2ce3fedbfc
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ document.addEventListener('DOMContentLoaded', function () {
|
|||
// Add search functionality for refactoring table
|
||||
document.getElementById('refacSearchInput').addEventListener('keyup', function() {
|
||||
var searchText = this.value.toLowerCase();
|
||||
var tableBody = document.querySelector('table:nth-of-type(2) tbody');
|
||||
var tableBody = document.querySelectorAll('table tbody')[1];
|
||||
var rows = tableBody.getElementsByTagName('tr');
|
||||
|
||||
for (var i = 0; i < rows.length; i++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue