mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 01:10:08 +02:00
Fixes text-selection example
This commit is contained in:
parent
196416cc17
commit
e8af56ffc5
3 changed files with 5 additions and 4 deletions
|
@ -13,7 +13,7 @@
|
|||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
/* globals PDFView, CustomStyle, scrollIntoView, PDFJS */
|
||||
/* globals CustomStyle, scrollIntoView, PDFJS */
|
||||
|
||||
'use strict';
|
||||
|
||||
|
@ -39,7 +39,7 @@ var TextLayerBuilder = (function TextLayerBuilderClosure() {
|
|||
this.viewport = options.viewport;
|
||||
this.isViewerInPresentationMode = options.isViewerInPresentationMode;
|
||||
this.textDivs = [];
|
||||
this.findController = PDFView.findController || null;
|
||||
this.findController = options.findController || null;
|
||||
}
|
||||
|
||||
TextLayerBuilder.prototype = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue