From a8752f30b23c806c4da5ff56c57affb3cb621cd1 Mon Sep 17 00:00:00 2001 From: ariannedee Date: Thu, 10 Sep 2020 13:57:28 -0700 Subject: [PATCH] Revert accidental commit --- edivorce/apps/core/static/js/vendor/autogrow.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/edivorce/apps/core/static/js/vendor/autogrow.js b/edivorce/apps/core/static/js/vendor/autogrow.js index 8eee519b..f9b5aa1e 100644 --- a/edivorce/apps/core/static/js/vendor/autogrow.js +++ b/edivorce/apps/core/static/js/vendor/autogrow.js @@ -20,7 +20,7 @@ //if the element is "invisible", we get an incorrect height value //to get correct value, clone and append to the body. if (elem.is(':visible') || parseInt(elem.css('height'), 10) > 0) { - min = parseInt(elem.css('height'), 10) || elem.innerHeight(); + min = parseInt(elem.css('height'), 75) || elem.innerHeight(); } else { clone = elem.clone() .addClass(opts.cloneClass) @@ -35,7 +35,6 @@ min = clone.innerHeight(); clone.remove(); } - min = Math.max(min, 75); if (opts.fixMinHeight) { elem.data('autogrow-start-height', min); //set min height }