0
我jQuery 1.10.2
替代切换功能火灾2个功能Jquery的
$('.bot').toggle(
function() {
$(".bot").addClass("animateBot");
$(".bot_shadow").addClass("animateShadow");
},
function() {
$(".bot").removeClass("animateBot");
$(".bot_shadow").removeClass("animateShadow");
}
);
});
我发现它贬值。 有没有其他解决方案呢?
使用click事件,而不是 –