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

improve loaded element check #20

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

briznad
Copy link

@briznad briznad commented May 6, 2013

According to jQuery, Opera v12.12 and older may sometimes report offsetWidth and/or offsetHeight less than zero on some elements. Therefore, the check if an element is loaded should not simply evaluate for 0/false, since negative numbers will incorrectly evaluate as true.

briznad added 5 commits May 6, 2013 11:25
According to jQuery, Opera v12.12 and older may sometimes report offsetWidth and/or offsetHeight less than zero on some elements. Therefore, the check if an element is loaded should not simply evaluate for 0/false, since negative numbers will incorrectly evaluate as true.
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.

1 participant