Juna190825 commited on
Commit
6bfc3c8
·
verified ·
1 Parent(s): f8a991f

Update proxy/templates/index.html

Browse files
Files changed (1) hide show
  1. proxy/templates/index.html +2 -2
proxy/templates/index.html CHANGED
@@ -49,7 +49,7 @@
49
  </div>
50
 
51
  <!-- Embedded ConlluEditor -->
52
- <iframe id="editorFrame" src="/editor"></iframe>
53
 
54
  <script>
55
  const dropzone = document.getElementById("dropzone");
@@ -120,7 +120,7 @@
120
  if (!f) return;
121
  // Assuming ConlluEditor can take a filename via query or internal logic.
122
  // If not, you’ll adapt this to whatever mechanism it uses.
123
- editorFrame.src = "/editor?file=" + encodeURIComponent(f);
124
  });
125
 
126
  downloadBtn.addEventListener("click", () => {
 
49
  </div>
50
 
51
  <!-- Embedded ConlluEditor -->
52
+ <iframe id="editorFrame" src="/editor/"></iframe>
53
 
54
  <script>
55
  const dropzone = document.getElementById("dropzone");
 
120
  if (!f) return;
121
  // Assuming ConlluEditor can take a filename via query or internal logic.
122
  // If not, you’ll adapt this to whatever mechanism it uses.
123
+ editorFrame.src = "/editor/?file=" + encodeURIComponent(f);
124
  });
125
 
126
  downloadBtn.addEventListener("click", () => {