mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-06-26 18:15:48 +02:00
Misprint fixed
parent
ecc18379e3
commit
c3e4f428f9
@ -398,7 +398,7 @@ window.onload = function () {
|
||||
$pdfContainer.append($textLayerDiv);
|
||||
|
||||
page.getTextContent().then(function (textContent) {
|
||||
var textLayer = new TextLayerBuilder({ textLayerDiv: $textLayerDiv.get(0) });
|
||||
var textLayer = new TextLayerBuilder($textLayerDiv.get(0));
|
||||
textLayer.setTextContent(textContent);
|
||||
|
||||
var renderContext = {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user