datasciencesage commited on
Commit
6fe157d
·
verified ·
1 Parent(s): 8fa04cd

updated the file

Browse files
Files changed (1) hide show
  1. templates/terminal.html +5 -5
templates/terminal.html CHANGED
@@ -382,11 +382,11 @@
382
 
383
  // Focus input on load and when clicking anywhere in terminal
384
  input.focus();
385
- // document.addEventListener('click', (e) => {
386
- // if (!e.target.classList.contains('upload-link')) {
387
- // input.focus();
388
- // }
389
- // });
390
  </script>
391
  </body>
392
  </html>
 
382
 
383
  // Focus input on load and when clicking anywhere in terminal
384
  input.focus();
385
+ document.addEventListener('click', (e) => {
386
+ if (!e.target.classList.contains('upload-link')) {
387
+ input.focus();
388
+ }
389
+ });
390
  </script>
391
  </body>
392
  </html>