Unintuitive removeClass() problem

后端 未结 3 1979
无人及你
无人及你 2021-01-25 20:42

I\'m using this flip plugin, see the code in this fiddle. The goal is to flip one box at a time, e.g. the second box clicked should revertFlip() the previous one.

3条回答
  •  粉色の甜心
    2021-01-25 21:10

    You can filter $this out of $allBoxes by using the not() method.

    $allBoxes.not($this).revertFlip();
    

提交回复
热议问题