|
@@ -319,7 +319,7 @@ function isWechat() {
|
|
|
}
|
|
|
function addFollow() {
|
|
|
if (doReq){
|
|
|
- retrun
|
|
|
+ return
|
|
|
}
|
|
|
doReq = true
|
|
|
$.post("/bigmember/follow/project/add",{sid:{{.T.obj._id}}},function(r){
|
|
@@ -327,7 +327,9 @@ function isWechat() {
|
|
|
followProjectId = r.data
|
|
|
$("#unfollowedProject").css("display","none")
|
|
|
$("#followedProject").css("display","")
|
|
|
- }
|
|
|
+ } else {
|
|
|
+ EasyAlert.show(r.error_msg, null, 1500);
|
|
|
+ }
|
|
|
doReq = false
|
|
|
});
|
|
|
}
|