()
| 47 | function checkCode(){ |
| 48 | if(checkFun)clearInterval(checkFun); |
| 49 | var checkNext=function(){ |
| 50 | if(codeArr.length===0){ |
| 51 | clearInterval(checkFun); |
| 52 | if(checkinvite)clearInterval(checkinvite); |
| 53 | alert("没有找到正确的邀请码!"); |
| 54 | return; |
| 55 | } |
| 56 | invitecode.value=codeArr.shift(); |
| 57 | if(is1024){ |
| 58 | unsafeWindow.invcodecheck(); |
| 59 | }else{ |
| 60 | unsafeWindow.checkinvite(); |
| 61 | } |
| 62 | }; |
| 63 | var checkBtn=invitecode.parentNode.querySelector(".btn"); |
| 64 | checkFun = setInterval(function() { |
| 65 | if(preTxt!=chkInvitecode.innerHTML){ |