mzx16822 6 years ago
parent
commit
acad378807
1 changed files with 2 additions and 2 deletions
  1. 2 2
      public/h5/datigame/js/common.js

+ 2 - 2
public/h5/datigame/js/common.js

@@ -168,8 +168,8 @@ common={
  		
  		
  	},increment:function(bdclass,num){
- 		 
-		$("."+bdclass).prop('Counter',num-$(this).text()).animate({
+ 		 var obj=$("."+bdclass);
+		obj.prop('Counter',num-obj.text()).animate({
 			Counter: $(this).text()
 		},{
 				duration: 3500,