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

Only handle scroll events when PDFView.pdfDocument is defined (issue 4642) #4645

Merged
merged 1 commit into from
Apr 24, 2014
Merged

Only handle scroll events when PDFView.pdfDocument is defined (issue 4642) #4645

merged 1 commit into from
Apr 24, 2014

Conversation

Snuffleupagus
Copy link
Collaborator

Attempted workaround to fix #4642. This should work, and it's a very easy solution, but I'm not completely convinced that this is the best way to handle the issue.

Edit: The reason for my apprehension about it, is that the patch adds code that is unnecessary most of the time to a function that is called a lot.

@dferer Does this fix the issue?

@Snuffleupagus Snuffleupagus changed the title Only handle scroll events when PDF.pdfDocument is defined (issue 4642) Only handle scroll events when PDFView.pdfDocument is defined (issue 4642) Apr 18, 2014
@Snuffleupagus
Copy link
Collaborator Author

/botio-linux preview

@pdfjsbot
Copy link

From: Bot.io (Linux)


Received

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

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

@ghost
Copy link

ghost commented Apr 19, 2014

@Snuffleupagus It does indeed fix it.

yurydelendik added a commit that referenced this pull request Apr 24, 2014
Only handle scroll events when PDFView.pdfDocument is defined (issue 4642)
@yurydelendik yurydelendik merged commit b088690 into mozilla:master Apr 24, 2014
@yurydelendik
Copy link
Contributor

thanks

@Snuffleupagus Snuffleupagus deleted the issue-4642 branch April 24, 2014 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unhandled rejection in FF (generic) when opening a second document
3 participants