mirror of
https://github.com/cnodejs/nodeclub.git
synced 2025-12-08 19:55:55 +00:00
hot fix
This commit is contained in:
parent
b7547a6101
commit
ad5f5beef1
@ -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');
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user