added search.js
This commit is contained in:
parent
c3e1d80b8f
commit
e4274d1107
@ -61,7 +61,6 @@
|
|||||||
|
|
||||||
document.addEventListener('DOMContentLoaded', function() {
|
document.addEventListener('DOMContentLoaded', function() {
|
||||||
Array.from(document.querySelectorAll('input')).forEach(element => {
|
Array.from(document.querySelectorAll('input')).forEach(element => {
|
||||||
console.log(element)
|
|
||||||
element.focus();
|
element.focus();
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
@ -93,5 +92,7 @@
|
|||||||
animateMarquee();
|
animateMarquee();
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<script src="scripts/search.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
1
frontend/scripts/search.js
Normal file
1
frontend/scripts/search.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
console.log("included search")
|
1
main.go
1
main.go
@ -48,6 +48,7 @@ func main() {
|
|||||||
|
|
||||||
e := echo.New()
|
e := echo.New()
|
||||||
e.Static("/assets", "frontend/assets")
|
e.Static("/assets", "frontend/assets")
|
||||||
|
e.Static("/scripts", "frontend/scripts")
|
||||||
e.GET("/", getIndex)
|
e.GET("/", getIndex)
|
||||||
|
|
||||||
// this is for me to later setup the ctl such that I can config the running program on the command line
|
// this is for me to later setup the ctl such that I can config the running program on the command line
|
||||||
|
Loading…
x
Reference in New Issue
Block a user