关键词
This commit is contained in:
parent
923a260dbf
commit
7613be5997
16
machine.html
16
machine.html
|
@ -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('');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue