mzx16822 6 년 전
부모
커밋
f92f322dd9
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      public/h5/datigame/js/common.js

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

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