finally fixed the homepage page enter thing
This commit is contained in:
parent
ac443805b6
commit
f9063ee35f
@ -135,5 +135,14 @@ layout: null
|
|||||||
|
|
||||||
dispLink();
|
dispLink();
|
||||||
setInterval(updateFancyTime, 1000);
|
setInterval(updateFancyTime, 1000);
|
||||||
|
|
||||||
|
document.getElementById("searchbar").
|
||||||
|
addEventListener('keydown', (e) => {
|
||||||
|
if (e.key === 'Enter')
|
||||||
|
{
|
||||||
|
e.preventDefault();
|
||||||
|
searchwww();
|
||||||
|
}
|
||||||
|
});
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user