| jquery Programming Glossary: onendUnintuitive removeClass() problem http://stackoverflow.com/questions/4514870/unintuitive-removeclass-problem    onAnimation function   allBoxes.preventDefault   onEnd function   this.addClass 'reverted'   return false I'll appreciate.. has something to do with revertFlip calling onBefore and onEnd . This is causing some weirdness with addClass and removeClass.. . You'll see if you open up FireBug that onBefore and onEnd are called multiple times with I think is having the following.. 
 Unintuitive removeClass() problem http://stackoverflow.com/questions/4514870/unintuitive-removeclass-problem  function   prevFlip.revertFlip  prevFlip.removeClass 'reverted'   onAnimation function   allBoxes.preventDefault   onEnd function   this.addClass 'reverted'   return false I'll appreciate a lot your advise and suggestions. Edit Error Console.. jquery plugins   share improve this question   I believe this has something to do with revertFlip calling onBefore and onEnd . This is causing some weirdness with addClass and removeClass . Check out my modified example http jsfiddle.net andrewwhitaker.. out my modified example http jsfiddle.net andrewwhitaker 7cysr . You'll see if you open up FireBug that onBefore and onEnd are called multiple times with I think is having the following effect I haven't exactly worked out what's going on The call.. 
 |