Skip to content
This repository was archived by the owner on Nov 28, 2018. It is now read-only.

fix scrollToBottom() version check for jQuery > 1.10 #30

Merged
merged 1 commit into from
Jun 14, 2013
Merged

fix scrollToBottom() version check for jQuery > 1.10 #30

merged 1 commit into from
Jun 14, 2013

Conversation

agrif
Copy link
Contributor

@agrif agrif commented Jun 13, 2013

jQuery uses a form of semantic versioning, where 1.9 < 1.10 < 1.11. The old scrollToBottom() version check used lexicographic ordering, which doesn't work with the newest jQuery, since "1.10" < "1.6". This commit changes that check to extract each component, parse them into an int, and then compare.

chrisdone added a commit that referenced this pull request Jun 14, 2013
fix scrollToBottom() version check for jQuery > 1.10
@chrisdone chrisdone merged commit afe2365 into chrisdone-archive:master Jun 14, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants