djuna commited on
Commit
e662215
·
verified ·
1 Parent(s): 5bb95cf

fix: show output after error

Browse files
Files changed (1) hide show
  1. index.html +1 -0
index.html CHANGED
@@ -383,6 +383,7 @@
383
  }
384
 
385
  function applyTemplate() {
 
386
  document.getElementById("error").style.display = "none";
387
  const template = document.getElementById('template').value;
388
  const addGenerationPrompt = document.getElementById('addGenerationPrompt').checked;
 
383
  }
384
 
385
  function applyTemplate() {
386
+ document.getElementById("output").style.display = "block";
387
  document.getElementById("error").style.display = "none";
388
  const template = document.getElementById('template').value;
389
  const addGenerationPrompt = document.getElementById('addGenerationPrompt').checked;