Refactor UI to Use Semantic HTML Elements

This commit is contained in:
Leo Herzog
2025-12-22 22:01:18 -05:00
parent 615fe5092c
commit 570df30bcc
3 changed files with 121 additions and 58 deletions

View File

@@ -85,6 +85,11 @@ placeDownloadTooltips();
document.addEventListener('DOMContentLoaded', start);
function start() {
// form submission prevention
document.getElementById('startForm').addEventListener('submit', function (event) {
event.preventDefault();
});
// magnet input
document.getElementById('magnet').addEventListener('keyup', function (event) {
event.preventDefault();