Browse Source

no message

索隆 6 years ago
parent
commit
9ef2b7d582
1 changed files with 1 additions and 1 deletions
  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
 	});