dhowe / AdNauseamV1

*** This is not the current AdNauseam repository: please find the current repo here:
https://github.com/dhowe/AdNauseam
GNU General Public License v3.0
385 stars 33 forks source link

Remove previous attempt state class from vault ads when new attempt is made on them #336

Closed mushon closed 9 years ago

mushon commented 9 years ago

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.

dhowe commented 9 years ago

fixed -- please verify

mushon commented 9 years ago

done.