Skip to content

Conversation

joe-castle
Copy link

Hey Travis,

Great series, picked up quite a few tips and tricks so just wanted to say thanks!

I noticed that your articleTada() function was generating a random number between 1 and length of '.article-thumb'; this would exclude the first element from being called and do nothing if the last number was generated as it would be last index + 1.

This little commit fixes that.

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