Update Resources/Public/Javascript/PageView/PageView.js

Co-authored-by: Sebastian Meyer <sebastian.meyer@opencultureconsulting.com>
This commit is contained in:
Beatrycze Volk 2021-03-11 16:07:07 +01:00 committed by GitHub
parent 4c63d4624d
commit 2134911d3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ dlfViewer.prototype.addCustomControls = function() {
if (this.fulltexts[0] !== undefined && this.fulltexts[0].length !== 0 && this.fulltexts[0].url !== '' && this.images.length === 1) { if (this.fulltexts[0] !== undefined && this.fulltexts[0].length !== 0 && this.fulltexts[0].url !== '' && this.images.length === 1) {
fulltextControl = new dlfViewerFullTextControl(this.map, this.images[0], this.fulltexts[0].url); fulltextControl = new dlfViewerFullTextControl(this.map, this.images[0], this.fulltexts[0].url);
fulltextDownloadControl = new dlfViewerFullTextDownloadControl(this.map, this.images[0], this.fulltexts[0].url); fulltextDownloadControl = new dlfViewerFullTextDownloadControl(this.map, this.images[0], this.fulltexts[0].url);
this.highlightKeys = fulltextControl.searchHlElements; this.highlightKeys = fulltextControl.searchHlParameters;
} else { } else {
$('#tx-dlf-tools-fulltext').remove(); $('#tx-dlf-tools-fulltext').remove();
} }