simplify bing.js

This commit is contained in:
James Feng Cao 2023-05-24 21:45:46 +08:00
parent 087b9df6b6
commit 594fcf767d
1 changed files with 0 additions and 9 deletions

View File

@ -88,10 +88,6 @@ function reSetStartChatMessage(type) {
if(r.ok) talk = r.obj; if(r.ok) talk = r.obj;
}); });
getChatHubWithMagic().then(async a => { getChatHubWithMagic().then(async a => {
let t = 0;
if (a == 'repeat') {
t = await getLastChatInvocationId();
}
chat.innerHTML = ` chat.innerHTML = `
<div class="bing"> <div class="bing">
<div class="adaptiveCardsFatherDIV"> <div class="adaptiveCardsFatherDIV">
@ -103,11 +99,6 @@ function reSetStartChatMessage(type) {
</div> </div>
</div> </div>
`; `;
if(t>1){
restartNewChat.classList.remove('onShow');
}else{
restartNewChat.classList.add('onShow');
}
}); });
} }