Spaces:
Running
Running
BraydenMoore
commited on
Commit
•
55b8464
1
Parent(s):
3876b6d
Predict on page load
Browse files- Templates/index.html +2 -0
Templates/index.html
CHANGED
@@ -529,6 +529,8 @@
|
|
529 |
|
530 |
document.getElementById('submitButton').addEventListener('click', submitData);
|
531 |
|
|
|
|
|
532 |
document.addEventListener('keydown', function(event) {
|
533 |
if (event.keyCode === 13) {
|
534 |
submitData();
|
|
|
529 |
|
530 |
document.getElementById('submitButton').addEventListener('click', submitData);
|
531 |
|
532 |
+
submitData();
|
533 |
+
|
534 |
document.addEventListener('keydown', function(event) {
|
535 |
if (event.keyCode === 13) {
|
536 |
submitData();
|