From 6661884d68eba8426e630ef2fc91f8e32fc9081a Mon Sep 17 00:00:00 2001 From: baxiry Date: Sun, 25 Aug 2024 20:37:15 +0300 Subject: [PATCH] fix new line bug on textarea --- static/shell.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/static/shell.js b/static/shell.js index 5ccdef1..a3aaa0a 100644 --- a/static/shell.js +++ b/static/shell.js @@ -104,11 +104,9 @@ function calcHeight(value) { } if (numberOfLineBreaks > 24) { - numberOfLineBreaks = 24 + //numberOfLineBreaks = 24 } - - //console.log("lines:",numberOfLineBreaks) // min-height + lines x line-height + padding + border let newHeight = 20 + numberOfLineBreaks * 20 + 12 + 2;