finally fixed the homepage page enter thing
This commit is contained in:
parent
ac443805b6
commit
f9063ee35f
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user