Fixes enabling pdfBug
This commit is contained in:
parent
5c56cdc544
commit
5e0b2d383f
@ -104,6 +104,8 @@ var PDFViewerApplication = {
|
||||
animationStartedPromise: null,
|
||||
mouseScrollTimeStamp: 0,
|
||||
mouseScrollDelta: 0,
|
||||
preferenceSidebarViewOnLoad: false,
|
||||
preferencesPdfBugEnabled: false,
|
||||
isViewerEmbedded: (window.parent !== window),
|
||||
url: '',
|
||||
|
||||
@ -211,6 +213,7 @@ var PDFViewerApplication = {
|
||||
pageCountField: document.getElementById('pageCountField')
|
||||
});
|
||||
|
||||
var self = this;
|
||||
var initializedPromise = Promise.all([
|
||||
Preferences.get('enableWebGL').then(function resolved(value) {
|
||||
PDFJS.disableWebGL = !value;
|
||||
|
Loading…
Reference in New Issue
Block a user