This commit is contained in:
alsotang 2014-08-12 17:53:01 +08:00
parent b7547a6101
commit ad5f5beef1

View File

@ -212,11 +212,9 @@
if (action == 'collect') {
$me.text('取消收藏');
$me.attr('action','de_collect');
$countSpan.text(~~$countSpan.text() + 1);
} else {
$me.text('加入收藏');
$me.attr('action','collect');
$countSpan.text(~~$countSpan.text() - 1);
}
$me.toggleClass('span-success');
}