We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40fe0d9 commit 3c483abCopy full SHA for 3c483ab
public/javascripts/DV/helpers/construction.js
@@ -213,7 +213,7 @@ DV._.extend(DV.Schema.helpers, {
213
var showPages = this.models.document.totalPages > 1;
214
var showSearch = (this.viewer.options.search !== false) &&
215
(this.viewer.options.text !== false) &&
216
- (!this.viewer.options.width || this.viewer.options.width >= 540);
+ (!this.viewer.options.width || this.viewer.elements.viewer.width() >= 540);
217
218
// Hide annotations, if there are none:
219
var $annotationsView = this.viewer.$('.DV-annotationView');
0 commit comments