mirror of
https://github.com/Ionaru/easy-markdown-editor
synced 2025-07-24 10:24:29 -06:00
Fix comment
This commit is contained in:
parent
32e0971483
commit
065a022644
@ -1721,7 +1721,8 @@ function EasyMDE(options) {
|
||||
options.maxHeight = options.maxHeight || undefined;
|
||||
|
||||
if (typeof options.maxHeight !== 'undefined') {
|
||||
options.minHeight = options.maxHeight; // Min and max height are equal if maxHeight is set
|
||||
// Min and max height are equal if maxHeight is set
|
||||
options.minHeight = options.maxHeight;
|
||||
} else {
|
||||
options.minHeight = options.minHeight || '300px';
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user