소스 검색

no message

索隆 6 년 전
부모
커밋
9ef2b7d582
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      js/prediction.js

+ 1 - 1
js/prediction.js

@@ -25,7 +25,7 @@ function updateStatus(obj, id){
25 25
 		ajax(apiUrl+"forecast/frame",{"forecastId": id,"onFrame": status},function(res){
26 26
 			if(res.code == 1){
27 27
 				$this.text(statusTxt);
28
-				$this.attr("data-status", (status == -1 ? 0 : -1));
28
+				$this.data("status", (status == -1 ? 0 : -1));
29 29
 			}
30 30
 		});
31 31
 	});