Update Resources/Public/Javascript/PageView/PageView.js
Co-authored-by: Sebastian Meyer <sebastian.meyer@opencultureconsulting.com>
This commit is contained in:
parent
4c63d4624d
commit
2134911d3c
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue