Skip to content

Commit

Permalink
Merge pull request #6122 from Snuffleupagus/issue-6121
Browse files Browse the repository at this point in the history
Fix a typo causing a TypeError when attempting to call pdfHistory_clearHistoryState (issue 6121)
  • Loading branch information
Snuffleupagus committed Jun 16, 2015
2 parents d7e6490 + 7cb6208 commit 5f6dcf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/viewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -796,7 +796,7 @@ var PDFViewerApplication = {
// The browsing history is only enabled when the viewer is standalone,
// i.e. not when it is embedded in a web page.
if (!self.preferenceShowPreviousViewOnLoad) {
PDFHistory.clearHistoryState();
self.pdfHistory.clearHistoryState();
}
self.pdfHistory.initialize(self.documentFingerprint);

Expand Down

0 comments on commit 5f6dcf3

Please sign in to comment.