jQuery - Disable Click until all chained animations are complete

后端 未结 6 1074
无人共我
无人共我 2020-12-05 00:27

Question

The solution below is intended to slide down the groupDiv displaying div1 and enough space for

6条回答
  •  自闭症患者
    2020-12-05 01:25

    you can unbind... but this should work too:

    if (!$("#div2 .tab").is(':animated') && !$("#GroupDiv").is(':animated')) return;
    

提交回复
热议问题