mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-24 00:50:28 +00:00
Restored height fixer for text editor
This commit is contained in:
parent
84a1337792
commit
6ff361cdc2
@ -100,7 +100,7 @@ TextEditor.prototype.fixHeight = function() {
|
||||
var prevWrapperHeight = wrapper.style.height;
|
||||
wrapper.style.height = textarea.style.height + "px";
|
||||
textarea.style.overflow = "hidden";
|
||||
// textarea.style.height = "1px";
|
||||
textarea.style.height = "1px";
|
||||
textarea.style.height = Math.max(textarea.scrollHeight,MIN_TEXT_AREA_HEIGHT) + "px";
|
||||
wrapper.style.height = prevWrapperHeight;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user