Mercurial Hosting > chat
comparison src/chat.js @ 14:0df3a63a895f
minor
| author | Franklin Schmidt <fschmidt@gmail.com> |
|---|---|
| date | Fri, 01 Nov 2024 11:22:01 -0600 |
| parents | 9f45d32670ae |
| children | 8b8905f63d80 |
comparison
equal
deleted
inserted
replaced
| 13:22534fc3aadd | 14:0df3a63a895f |
|---|---|
| 65 } | 65 } |
| 66 | 66 |
| 67 function added(html) { | 67 function added(html) { |
| 68 let input = document.querySelector('div[input]'); | 68 let input = document.querySelector('div[input]'); |
| 69 input.insertAdjacentHTML('beforebegin',html); | 69 input.insertAdjacentHTML('beforebegin',html); |
| 70 fixDates(); | |
| 70 input.scrollIntoView({block: 'end'}); | 71 input.scrollIntoView({block: 'end'}); |
| 71 } | 72 } |
