i cannot math
This commit is contained in:
parent
ad96057d7e
commit
cf9d3bd5b5
1 changed files with 1 additions and 1 deletions
|
@ -37,9 +37,9 @@ async function addMsg(msg) {
|
||||||
item.insertBefore(img,item.childNodes[0])
|
item.insertBefore(img,item.childNodes[0])
|
||||||
}
|
}
|
||||||
wrap.appendChild(item);
|
wrap.appendChild(item);
|
||||||
window.scrollTo(0, document.body.scrollHeight);
|
|
||||||
}
|
}
|
||||||
messages.appendChild(wrap);
|
messages.appendChild(wrap);
|
||||||
|
window.scrollTo(0, document.body.scrollHeight);
|
||||||
}
|
}
|
||||||
|
|
||||||
async function main(e) {
|
async function main(e) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue