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

Prevent a "TypeError: pdfViewer is null" when the viewer loads (PR 5413 followup) #5488

Merged
merged 1 commit into from
Nov 18, 2014
Merged

Prevent a "TypeError: pdfViewer is null" when the viewer loads (PR 5413 followup) #5488

merged 1 commit into from
Nov 18, 2014

Conversation

Snuffleupagus
Copy link
Collaborator

Currently if you manage to e.g. open the console (with Ctrl+Shift+K) before the viewer is initialized, the following will be printed in the console: TypeError: pdfViewer is null.
This doesn't cause any actual errors, but nevertheless it seems like something we should avoid.

Followup to PR #5413.

…13 followup)

Currently if you manage to e.g. open the console (with <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>K</kbd>) before the viewer is initialized, the following will be printed in the console: `TypeError: pdfViewer is null`.
This doesn't cause any actual errors, but nevertheless it seems like something we should avoid.

Followup to PR 5413.
@timvandermeij
Copy link
Contributor

/botio-linux preview

@pdfjsbot
Copy link

From: Bot.io (Linux)


Received

Command cmd_preview from @timvandermeij received. Current queue size: 0

Live output at: http://107.21.233.14:8877/b74acf6a48f04b7/output.txt

timvandermeij added a commit that referenced this pull request Nov 18, 2014
…followup

Prevent a "TypeError: pdfViewer is null" when the viewer loads (PR 5413 followup)
@timvandermeij timvandermeij merged commit 23bcab6 into mozilla:master Nov 18, 2014
@timvandermeij
Copy link
Contributor

Thanks!

@Snuffleupagus Snuffleupagus deleted the presentationMode-no-zoom-followup branch November 18, 2014 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants