mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 17:30:09 +02:00
Replaces text selection example
This commit is contained in:
parent
2565e627a3
commit
513a3d8c91
10 changed files with 119 additions and 175 deletions
|
@ -103,7 +103,9 @@ var AnnotationsLayerBuilder = (function AnnotationsLayerBuilderClosure() {
|
|||
element = PDFJS.AnnotationUtils.getHtmlElement(data,
|
||||
pdfPage.commonObjs);
|
||||
element.setAttribute('data-annotation-id', data.id);
|
||||
mozL10n.translate(element);
|
||||
if (typeof mozL10n !== 'undefined') {
|
||||
mozL10n.translate(element);
|
||||
}
|
||||
|
||||
var rect = data.rect;
|
||||
var view = pdfPage.view;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue