mirror of
https://gitlab.rlp.net/proj-wise2526-video2document/video2document.git
synced 2026-06-15 18:01:52 +02:00
Fixed a smal error in the document generation button of the costum document creation section
This commit is contained in:
@@ -312,9 +312,10 @@ goBackBtn.addEventListener("click", () => {
|
||||
// dokumente speichern
|
||||
generateBtn.addEventListener("click", () => {
|
||||
const name = docName.value.trim();
|
||||
const content = prompt.value.trim();
|
||||
const content = document.getElementById("prompt").value.trim();
|
||||
if (!name || !content) {
|
||||
result.textContent = "Bitte Dokumentname und Prompt ausfüllen.";
|
||||
console.log(name + " " + content);
|
||||
setTimeout(() => {
|
||||
result.textContent = "";
|
||||
}, 3000);
|
||||
|
||||
Reference in New Issue
Block a user