Skip to content

Commit 83f773d

Browse files
[BUGFIX] Fix showing text in disabled fulltext view (kitodo#1719)
1 parent a63cbe3 commit 83f773d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Resources/Public/JavaScript/PageView/FulltextControl.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,11 @@ var dlfViewerFullTextControl = function(map) {
242242
this)
243243
};
244244

245-
$('html').find(this.fullTextScrollElement).text(this.dic['fulltext-loading']);
245+
if (!this.isActive) {
246+
$(this.fullTextScrollElement).hide();
247+
}
248+
249+
$(this.fullTextScrollElement).text(this.dic['fulltext-loading']);
246250

247251
this.changeActiveBehaviour();
248252
};

0 commit comments

Comments
 (0)