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

divide by 0 error #55

Closed
ghost opened this issue Mar 9, 2011 · 1 comment
Closed

divide by 0 error #55

ghost opened this issue Mar 9, 2011 · 1 comment

Comments

@ghost
Copy link

ghost commented Mar 9, 2011

In _positionDragX, there appears to be a divide by 0 error on the following declaration:

percentScrolled = destX / dragMaxX.

As far as I can tell, this appears only in IE8 (could be in other IE versions as well).

@vitch
Copy link
Owner

vitch commented Mar 9, 2011

Thanks for the bug report. Does this happen on all pages or just certain ones (e.g. I'm guessing it might effect pages where the content isn't long enough to scroll?). Can you provide a URL showing the problem (preferably on jsfiddle.net)? Thanks!

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

No branches or pull requests

2 participants