diff --git a/web_src/js/index.js b/web_src/js/index.js index 027e5a89c..cc3fc824e 100644 --- a/web_src/js/index.js +++ b/web_src/js/index.js @@ -1098,6 +1098,7 @@ function initRepository() { $repoComparePull.find('button.show-form').on('click', function (e) { e.preventDefault(); $repoComparePull.find('.pullrequest-form').show(); + autoSimpleMDE.codemirror.refresh(); $(this).parent().hide(); }); }