Skip to content

Conversation

@jackhkmatthews
Copy link
Contributor

add page offset properties for greater cross browser compatability

add page offset properties for greater cross browser compatability
outerWidth = null;
pageXOffset = null;
pageYOffset = null;
pageXOffsetleft = null;

Choose a reason for hiding this comment

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

I think pageYOffsetleft and pageXOffsetleft are incorrect and shouldn't be here, it should be pageXOffset and pageYOffset so maybe you can just replace them instead.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

👍 Updated

@edoparearyee edoparearyee merged commit e967d32 into master Jul 20, 2018
@edoparearyee edoparearyee deleted the feature/page-offset branch July 20, 2018 13:43
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.

2 participants