Browse Source

需求浏览页面关注企业无效的问题

luyanan 7 years ago
parent
commit
e5139b26c6
1 changed files with 3 additions and 3 deletions
  1. 3 3
      js/demandShow.js

+ 3 - 3
js/demandShow.js

@ -21,12 +21,12 @@ $(document).ready(function() {
21 21
	})
22 22
	//点击关注按钮
23 23
	$(".goSpan").on('click',"span.attenSpan", function() {
24
		var pId=$(this).parent().siblings("a").attr("data-id");
24
		var cId=$(this).parent().siblings("a").attr("data-id");
25 25
		if(userid && userid != null && userid != "null") {
26 26
			if($(this).is('.attenedSpan')){
27
				cancelCollectionAbout(pId, $(this),1)
27
				cancelCollectionAbout(cId, $(this),6)
28 28
			} else {
29
				collectionAbout(pId, $(this),1);
29
				collectionAbout(cId, $(this),6);
30 30
			}
31 31
		}else{
32 32
			quickLog();