Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PDFJS throwing PDFHistory.clearHistoryState is not a function error #6121

Closed
sujit-baniya opened this issue Jun 16, 2015 · 0 comments
Closed
Assignees

Comments

@sujit-baniya
Copy link

Sir,
while changing showPreviousViewOnLoad: true, to showPreviousViewOnLoad: false,
under the file default_prefereneces.js in pdf.js provided by mozilla, it is throwing following error in viewer.html
Uncaught (in promise) TypeError: PDFHistory.clearHistoryState is not a function.
Is there any configuration required to make it work.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants