소스 검색

fix gen avatar

ming 3 년 전
부모
커밋
3d889f2203
1개의 변경된 파일2개의 추가작업 그리고 5개의 파일을 삭제
  1. 2 5
      api/static/script_msg.js

+ 2 - 5
api/static/script_msg.js

@@ -66,12 +66,9 @@ $(".next").click(function(){
 });
 
 });
+
 $(".gen_avatar").click(function(){
-  button.setAttribute('disabled', '');
-  setTimeout(function(){
-    button.removeAttribute('disabled')
-  }, 4000);
-  
+
 	dataOBJ = {"imgurl":$('.img_src').val()}
 	objstr = JSON.stringify(dataOBJ);
 	console.log(dataOBJ)