quote-rotator icon indicating copy to clipboard operation
quote-rotator copied to clipboard

Prevent rotation when only with one item

Open dabrosch opened this issue 9 years ago • 0 comments

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.

dabrosch avatar Oct 23 '15 01:10 dabrosch