关键词

This commit is contained in:
caicai8 2019-12-19 20:21:21 +08:00
parent 923a260dbf
commit 7613be5997
1 changed files with 7 additions and 9 deletions

View File

@ -140,17 +140,15 @@
if( array[i].input.indexOf(value) > -1 ){
flag = true;
answer = '<div class="rotWord"><span></span><p id="member">'+array[i].output+'</p></div>';
continue;
setTimeout(function(){
$(".b_body").append(answer);
$(".b_body").scrollTop(10000000);
text.val('');
},500);
return;
}
}
if(flag){
setTimeout(function(){
$(".b_body").append(answer);
$(".b_body").scrollTop(10000000);
},500);
}else{
ajax(args);
}
ajax(args);
$(".b_body").scrollTop(10000000);
text.val('');
}