2
0
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:
Nick Denry 2020-08-07 23:46:51 +03:00
parent 32e0971483
commit 065a022644

View File

@ -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';
}