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

Fix handling of "Fit" zoom values in setHash (issue 5581) #5582

Merged
merged 1 commit into from
Mar 10, 2015
Merged

Fix handling of "Fit" zoom values in setHash (issue 5581) #5582

merged 1 commit into from
Mar 10, 2015

Conversation

Snuffleupagus
Copy link
Collaborator

Tentative patch to fix #5581.

'FitV','FitBV','FitR'];

if (!hash) {
} else if (!hash) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: don't use else here -- not the same case check as above if

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

@yurydelendik
Copy link
Contributor

/botio-linux preview

@pdfjsbot
Copy link

From: Bot.io (Linux)


Received

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

Live output at: http://107.21.233.14:8877/81b865fe192d16e/output.txt

yurydelendik added a commit that referenced this pull request Mar 10, 2015
Fix handling of "Fit" zoom values in setHash (issue 5581)
@yurydelendik yurydelendik merged commit c2dc665 into mozilla:master Mar 10, 2015
@yurydelendik
Copy link
Contributor

Thank you for the patch!

@Snuffleupagus Snuffleupagus deleted the setHash-Fit-values branch March 10, 2015 09:42
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.

FitR argument as zoom is throwing width and height as NaN values in console.
3 participants