diff --git a/fangija-zsyf/yfindex.html b/fangija-zsyf/yfindex.html index a56b511..b5103c9 100644 --- a/fangija-zsyf/yfindex.html +++ b/fangija-zsyf/yfindex.html @@ -1571,7 +1571,7 @@ $("#region").click(function(e){ }) })*/ -$("body").delegate(".icon-light-red", "click", function () { +$("body").delegate(".vote01 .icon-light-grey", "click", function () { var id = $(this).attr("data-val"); var voteFavorCount = parseInt($("#voteFavorCount_"+id).text().split(" ")[0].replace("票",""))+1; var voteNoFavorCount = parseInt($("#voteNoFavorCount_"+id).text().split(" ")[0].replace("票","")); @@ -1584,7 +1584,7 @@ $("body").delegate(".icon-light-red", "click", function () { doVote(id,0); }); -$("body").delegate(".icon-light-grey", "click", function () { +$("body").delegate(".vote02 .icon-light-grey", "click", function () { var id = $(this).attr("data-val"); var voteFavorCount = parseInt($("#voteFavorCount_"+id).text().split(" ")[0].replace("票","")); var voteNoFavorCount = parseInt($("#voteNoFavorCount_"+id).text().split(" ")[0].replace("票",""))+1; @@ -1846,7 +1846,7 @@ function addItems(number, lastIndex) { html += '