Skip to content

Commit

Permalink
fix #542
Browse files Browse the repository at this point in the history
This fixes the bug, but hurts performance with large lists
  • Loading branch information
lovasoa committed Aug 17, 2024
1 parent 969bba1 commit 718e44e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion sqlpage/sqlpage.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ function sqlpage_table(){
new List(r, {
valueNames: [...r.getElementsByTagName("th")].map(t => t.textContent),
searchDelay: 100,
indexAsync: true
// Hurts performance, but prevents https://github.com/lovasoa/SQLpage/issues/542
// indexAsync: true
});
r.removeAttribute("data-pre-init");
}
Expand Down

0 comments on commit 718e44e

Please sign in to comment.