currently the .just-visited is removed from an .item only when and if a new item is attempting, but this causes a case that if an ad appears twice and is attempted in the vault right after its previous successful attempt, the .just-visited is maintained and a possible .just-failed class might be ignored.
I recommend removing any state class (.just-visited.just-failed.attempting) from an ad before a new state class is added to them.
currently the
.just-visited
is removed from an.item
only when and if a new item is attempting, but this causes a case that if an ad appears twice and is attempted in the vault right after its previous successful attempt, the.just-visited
is maintained and a possible.just-failed
class might be ignored. I recommend removing any state class (.just-visited
.just-failed
.attempting
) from an ad before a new state class is added to them.