Roderic Day 5 роки тому
джерело
коміт
7c632a9186
1 змінених файлів з 2 додано та 1 видалено
  1. +2
    -1
      pico.js

+ 2
- 1
pico.js Переглянути файл

@@ -161,7 +161,8 @@ const scrollIntoView = (vnode) => {
}
const TextBox = {
autoSize: () => {
textbox.rows = textbox.value.split('\n').length
textbox.style.height = `0px`
textbox.style.height = `${textbox.scrollHeight}px`
},
sendPost: () => {
if(textbox.value) {

Завантаження…
Відмінити
Зберегти