quote-rotator
quote-rotator copied to clipboard
Prevent rotation when only with one item
I can't really see much of a case for wanting the quote animation to occur when you only have one, so I am suggesting that we check for the number of items first and prevent rotation if there is one or less.
That var on line 30 also was just unnecessarily redeclaring the parameter variable.