pdufour commited on
Commit
152bf3c
1 Parent(s): 08e71bb

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +1 -2
index.js CHANGED
@@ -373,11 +373,10 @@ uploadInput.addEventListener('change', (e) => {
373
  reader.readAsDataURL(file);
374
  });
375
 
376
- prompt.addEventListener('keypress', (e) => {
377
  currentQuery = e.target.value;
378
  });
379
 
380
-
381
  form.addEventListener('submit', (e) => {
382
  e.preventDefault();
383
 
 
373
  reader.readAsDataURL(file);
374
  });
375
 
376
+ promptInput.addEventListener('keypress', (e) => {
377
  currentQuery = e.target.value;
378
  });
379
 
 
380
  form.addEventListener('submit', (e) => {
381
  e.preventDefault();
382