Open tomaszrondio opened 7 years ago
// get buttons in reverse order and loop through each $(buttons.get().reverse()).each(function(index, count) {
this is always true because count is not a number so backUpFromSmall() is fired every time if (!--count) backUpFromSmall();
if (!--count) backUpFromSmall();
Hey @tomaszrondio. Thanks! Care to offer a PR to fix?
I would if I could :) I am not sure what would be a fix here that is why I opened an issue instead of PR.
this is always true because count is not a number so backUpFromSmall() is fired every time
if (!--count) backUpFromSmall();