aboutsummaryrefslogtreecommitdiff
path: root/src/parts/end.html
diff options
context:
space:
mode:
authorSan Jacobs2025-12-13 05:08:37 +0100
committerSan Jacobs2025-12-13 05:08:37 +0100
commitdae712ac1cbe9751c8da0e826b8111351cf9519d (patch)
treeffee6d293f2bc178b518e1d7e6156d763d5e1bbc /src/parts/end.html
parente2c930c8b48c3974ce20e5ce459b257178189dc7 (diff)
downloadbetter-report-dae712ac1cbe9751c8da0e826b8111351cf9519d.tar.gz
better-report-dae712ac1cbe9751c8da0e826b8111351cf9519d.tar.bz2
better-report-dae712ac1cbe9751c8da0e826b8111351cf9519d.zip
The wav lib is loading the audio data!! Tested with 24-bit audioHEADmaster
Also it handles wave_format_extensible now.
Diffstat (limited to 'src/parts/end.html')
-rw-r--r--src/parts/end.html7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/parts/end.html b/src/parts/end.html
index 204188c..fb5a632 100644
--- a/src/parts/end.html
+++ b/src/parts/end.html
@@ -33,13 +33,16 @@
prevColumnSorted = th;
}
- // Event listeners and initial sort
+ // Event listener
document.querySelectorAll('th').forEach(th => th.addEventListener('click', () => {
document.querySelectorAll('.current-sort').forEach(el => el.classList.remove('current-sort'));
th.classList.add('current-sort');
doSort(th);
}));
-
+
+ // Sort by the default column on page load
+ doSort(prevColumnSorted);
+
// Column and row highlighting on hover
const table = document.querySelector('table');
const allCells = table.querySelectorAll('td, th');