Skip to content

Commit bb6c874

Browse files
authored
Update full document after each page
Refs #1
1 parent 0fd659a commit bb6c874

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pdf-ocr.html

+1-2
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,8 @@ <h2>Full document</h2>
107107
altTextarea.value = text;
108108
altTextarea.placeholder = '';
109109
fullText += text + '\n\n';
110+
fullDocumentTextarea.value = fullText.trim();
110111
}
111-
112-
fullDocumentTextarea.value = fullText.trim();
113112
}
114113

115114
async function* convertPDFToImages(file) {

0 commit comments

Comments
 (0)