From 6ffb2dbad749b260c68f1e19a644d2be7932e723 Mon Sep 17 00:00:00 2001 From: t-tsutsumi Date: Tue, 2 May 2017 20:23:34 +0900 Subject: [PATCH] Fix incorrect initial height of textarea --- src/main/twirl/gitbucket/core/helper/preview.scala.html | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/twirl/gitbucket/core/helper/preview.scala.html b/src/main/twirl/gitbucket/core/helper/preview.scala.html index 473dcd2d2..4ec4b0913 100644 --- a/src/main/twirl/gitbucket/core/helper/preview.scala.html +++ b/src/main/twirl/gitbucket/core/helper/preview.scala.html @@ -44,6 +44,7 @@ $(function(){ @if(elastic){ $('#content@uid').elastic(); + $('#content@uid').trigger('blur'); } $('#preview@uid').click(function(){