finally fixed the homepage page enter thing

This commit is contained in:
etherware-novice 2024-11-09 10:52:51 -06:00
parent ac443805b6
commit f9063ee35f
No known key found for this signature in database
GPG Key ID: 32AF3B2B107D2984

View File

@ -135,5 +135,14 @@ layout: null
dispLink();
setInterval(updateFancyTime, 1000);
document.getElementById("searchbar").
addEventListener('keydown', (e) => {
if (e.key === 'Enter')
{
e.preventDefault();
searchwww();
}
});
</script>
</body>