From 065a022644f94c4a384887ebc710df290cb9b319 Mon Sep 17 00:00:00 2001 From: Nick Denry Date: Fri, 7 Aug 2020 23:46:51 +0300 Subject: [PATCH] Fix comment --- src/js/easymde.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/js/easymde.js b/src/js/easymde.js index 4c057e1..969e30d 100644 --- a/src/js/easymde.js +++ b/src/js/easymde.js @@ -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'; }