mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
simplify bing.js
This commit is contained in:
parent
087b9df6b6
commit
594fcf767d
1 changed files with 0 additions and 9 deletions
|
@ -88,10 +88,6 @@ function reSetStartChatMessage(type) {
|
|||
if(r.ok) talk = r.obj;
|
||||
});
|
||||
getChatHubWithMagic().then(async a => {
|
||||
let t = 0;
|
||||
if (a == 'repeat') {
|
||||
t = await getLastChatInvocationId();
|
||||
}
|
||||
chat.innerHTML = `
|
||||
<div class="bing">
|
||||
<div class="adaptiveCardsFatherDIV">
|
||||
|
@ -103,11 +99,6 @@ function reSetStartChatMessage(type) {
|
|||
</div>
|
||||
</div>
|
||||
`;
|
||||
if(t>1){
|
||||
restartNewChat.classList.remove('onShow');
|
||||
}else{
|
||||
restartNewChat.classList.add('onShow');
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue