mzx16822 hace 6 años
padre
commit
f92f322dd9
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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',