Spaces:
Runtime error
Runtime error
yizhangliu
commited on
Commit
•
2cda37e
1
Parent(s):
7b6a9a0
Update app.py
Browse files
app.py
CHANGED
@@ -80,9 +80,13 @@ start_work = """async() => {
|
|
80 |
window['chat_bot1'].children[1].textContent = '';
|
81 |
|
82 |
clientHeight = getClientHeight();
|
83 |
-
|
84 |
-
|
85 |
-
window['
|
|
|
|
|
|
|
|
|
86 |
window['checkChange'] = function checkChange() {
|
87 |
try {
|
88 |
if (window['chat_bot'].children[2].children[0].children.length > window['div_count']) {
|
|
|
80 |
window['chat_bot1'].children[1].textContent = '';
|
81 |
|
82 |
clientHeight = getClientHeight();
|
83 |
+
new_height = (clientHeight-150) + 'px';
|
84 |
+
chat_row.style.height = new_height;
|
85 |
+
window['chat_bot'].style.height = new_height;
|
86 |
+
window['chat_bot'].children[2].style.height = new_height;
|
87 |
+
window['chat_bot1'].style.height = new_height;
|
88 |
+
window['chat_bot1'].children[2].style.height = new_height;
|
89 |
+
|
90 |
window['checkChange'] = function checkChange() {
|
91 |
try {
|
92 |
if (window['chat_bot'].children[2].children[0].children.length > window['div_count']) {
|